Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
And I still don't see how your proposed method handles the problem you mentioned above with Image2... RDB Now, first, what would you prefer? Second, I hope you understand how the new feature would address the issue (and that you know what the issue is - if i explained it clearly, of course) As

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread Reuben D. Budiardja
On Wednesday 16 July 2003 09:46 am, John Manko wrote: > Ok, before you go responding with percentages, I should note this. > > consider this: > Image1 : 100x100 (Ratio = 1:1) > Image2 : 100x200 (Ratio = 1:2) > > Space available for display : 75x75 > > now, i can say "width=75% height=75%", but t

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread Curt Zirzow
um.. sorry for the off topic discussion.. John Manko <[EMAIL PROTECTED]> wrote: > You will note that I did say that I was looking for a PHP solution to > this, anyhow. > > >HTML isn't smart enough to figure that out and this is a PHP list, anyhow. > > > > Thank you for the info. I still think

Re: SPAM: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
yes, that is what "CPT John W. Holmes" suggested. I will do that. In the meantime, I'm going to join the w3c mailing list. thank you. Justin French wrote: Whilst I have not tested this on multiple platforms/browsers, I believe if you only specify one (the width for example), the browser will p

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
You will note that I did say that I was looking for a PHP solution to this, anyhow. HTML isn't smart enough to figure that out and this is a PHP list, anyhow. Thank you for the info. I still think that HTML should handle it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread CPT John W. Holmes
> Ok, before you go responding with percentages, I should note this. > > consider this: > Image1 : 100x100 (Ratio = 1:1) > Image2 : 100x200 (Ratio = 1:2) > > Space available for display : 75x75 > > now, i can say "width=75% height=75%", but this will > only work for Image1, since Image2 will end

Re: SPAM: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread Justin French
Whilst I have not tested this on multiple platforms/browsers, I believe if you only specify one (the width for example), the browser will proportionately sace the height. The is useful with a fixed width OR height area, but does not solve a scenario where there are height AND width contraints.

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
lto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:46 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] KEEP IMAGE RATIO Ok, before you go responding with percentages, I should note this. consider this: Image1 : 100x100 (Ratio = 1:1) Image2 : 100x200 (Ratio = 1:2) Space available for display : 75x

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
9:46 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] KEEP IMAGE RATIO Ok, before you go responding with percentages, I should note this. consider this: Image1 : 100x100 (Ratio = 1:1) Image2 : 100x200 (Ratio = 1:2) Space available for display : 75x75 now, i can say "width=75% height=75%"

RE: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread Brian S. Drexler
Leave out the height or width tag and it will keep the ratio by itself won't it? -Original Message- From: John Manko [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:46 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] KEEP IMAGE RATIO Ok, before you go responding with percen

Re: [PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
Ok, before you go responding with percentages, I should note this. consider this: Image1 : 100x100 (Ratio = 1:1) Image2 : 100x200 (Ratio = 1:2) Space available for display : 75x75 now, i can say "width=75% height=75%", but this will only work for Image1, since Image2 will end up as 75x150 (whi

[PHP] KEEP IMAGE RATIO

2003-07-16 Thread John Manko
Ok, I'm surprised that this is not taken care of with HTML. I propose the following standard (but also looking for a PHP workaround if available) for the Img HTML tag: RATIO = Keep|Ignore, default Ignore < img width='x' height='y' RATIO='Keep|Ignore' > Where, RATIO=Keep will inlarge the image