[wp-hackers] imgsize in upload.php
lists at abhaykumar.net
Thu Feb 9 14:41:27 GMT 2006
Could someone clarify why we wouldn't want some backend php code [e.g.
imagesx($img), imagesy($img)], to calculate the images parameters? Is
it becuase we don't want to depend upon php_gd?
Also, I could understand why one would want to define the image's
dimensions (or maybe the width dimension/relative size) for the image
to appear correctly within a post, but the full height and width? I
don't see the purpose. Perhaps I'm being shortsighted.
On 2/8/06, Dion Almaer <dion at almaer.com> wrote:
> You are right about the border="0" for the generic case.
> It was pragmatic in my situation.
> I care more about the width/height being put in programatically.
> > -----Original Message-----
> > From: wp-hackers-bounces at lists.automattic.com
> > [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Craig
> > Sent: Wednesday, February 08, 2006 3:38 PM
> > To: wp-hackers at lists.automattic.com
> > Subject: Re: [wp-hackers] imgsize in upload.php
> > My comment to this is wondering about the border="0"
> > declaration. Would that override any CSS styling created by
> > the active site theme? I would offer the opinion that styling
> > should be in the CSS file(s) and not the code itself.
> > Craig.
> > Nuclear Moose.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers