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
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 percentages
: [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%, but this will
only
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 : 75x75
now, i
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
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
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 that HTML
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 this will
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
9 matches
Mail list logo