Click to See Complete Forum and Search --> : Image Proportions
The Little Guy
01-19-2005, 09:12 PM
How can I make a thumbnail keep it's proportions, like at google?
Ex: If image is tall, so is the thumbnail.
If the image is short, so is the thumbnail.
Subtract the same amount from both its height and its width; don't force the dimensions to be the same. Do you want to edit the image manually? If so, what software are you using?
The Little Guy
01-19-2005, 09:20 PM
So I have to make do that to every image? or is there a code that I can use that will automaticlly do that?
Originally posted by The Little Guy
So I have to make do that to every image? or is there a code that I can use that will automaticlly do that?
You can if you want, but you don't have to. There is indeed code to resize any particular image, but the code you use depends on what kind of system you're working on. What programming language do you need to use for this?
The Little Guy
01-19-2005, 09:39 PM
I'm working on Window's XP and I'm using HTML
Originally posted by The Little Guy
I'm working on Window's XP and I'm using HTML
Are you not using any kind of server-side processing technology? If you're using HTML exclusively, then there is no way you can automatically resize images (without setting WIDTH/HEIGHTs on the IMG tags themselves, but the full-size image still has to download in that instance).
The Little Guy
01-19-2005, 09:45 PM
and CSS
CSS is a client-side technology and cannot process any form of binary data; or any matter of data, in fact. CSS is styling information for a web page. No processing is available for it. JavaScript, in case you're wondering, is also a client-side technology and cannot resize images (not anymore than HTML can, that is).
The Little Guy
01-19-2005, 09:58 PM
So I guess I just need to resize manually, becasue my host doesn't support PHP, CGI, or any of those.