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
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
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
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
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,
> 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
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.
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
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%"
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
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
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
12 matches
Mail list logo