![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
As well known for <IMG ...> tags in web pages a width and a height attribute can be applied. What I want to do now is to fix the width for ALL the images on my web page to exactly lets say 70 pixel regardless how big the originals are. The height should be adjusted proportional so that the resulting thumbnail is not distorted. But as far as I know there is no such attribute like IMG SRC=...... WIDTH=70 HEIGHT="Adjust proportional to Width"> .... How can I solve this problem ? As a second best solution I could accept if I could write percentage values: IMG SRC=..... WIDTH=50% HEIGHT=50% but this doesn't work too. Wladimir |
#3
| |||
| |||
|
|
[re-posted to alt.html, as the original went elsewhere for some odd reason!] While the city slept, Wladimir Borsov <wladimirb (AT) gmx (DOT) net> feverishly typed: As well known for <IMG ...> tags in web pages a width and a height attribute can be applied. What I want to do now is to fix the width for ALL the images on my web page to exactly lets say 70 pixel regardless how big the originals are. The height should be adjusted proportional so that the resulting thumbnail is not distorted. But as far as I know there is no such attribute like IMG SRC=...... WIDTH=70 HEIGHT="Adjust proportional to Width"> .... How can I solve this problem ? As a second best solution I could accept if I could write percentage values: IMG SRC=..... WIDTH=50% HEIGHT=50% but this doesn't work too. |
#4
| |||
| |||
|
|
As well known for <IMG ...> tags in web pages a width and a height attribute can be applied. What I want to do now is to fix the width for ALL the images on my web page to exactly lets say 70 pixel regardless how big the originals are. The height should be adjusted proportional so that the resulting thumbnail is not distorted. But as far as I know there is no such attribute like IMG SRC=...... WIDTH=70 HEIGHT="Adjust proportional to Width"> .... How can I solve this problem ? |

|
As a second best solution I could accept if I could write percentage values: IMG SRC=..... WIDTH=50% HEIGHT=50% but this doesn't work too. Wladimir |
#5
| |||
| |||
|
|
[re-posted to alt.html, as the original went elsewhere for some odd reason!] |
![]() |
| Thread Tools | |
| Display Modes | |
| |