PDA

View Full Version : thumbnail images


esthera
11-01-2005, 05:37 PM
I need a way to create thumbnail images without a component that needs to be installed on the server.
I want it to make the thumbnail proportionate to the size of the image.
is there anyway to do this with just the img tag. (but proportionate?)

Bullschmidt
11-02-2005, 05:53 AM
You may want to look into this:

A free .dll file that just needs to be placed into a folder with full permissions.

Crazy Beaver Software - Image Resizer
http://www.crazybeavers.se/products_imagerresizer.asp

NancyJ
11-02-2005, 01:48 PM
you can do it with just the img tag if you only specify 1 of the height or width. It doesnt physically resize the images in that it wont create a separate thumbnail image but it will display the original image at a smaller size.
eg if you have an image 100x200 and you say
<img src = "image.gif" width = "50" /> then it will display as a 50x100 image

Freon22
11-05-2005, 09:57 PM
I was watching this thread hoping someone knew a way to do this. I am going to be building a new site and this is one of things that I am going to having to do. A lot of the images files I have are not going to be the right size for the display area I am going to have for them. But I still want to be able to show them at their full size when someone clicks on them. I was going to try one of two thing. The first one is to try to use a width and height with a % instead of px. I haven't try it yet but cann't you do
<img src= "image.jpg" width="50%" height="50%" />
The other is to just resize the pictures through a program and save both picture sizes. Has anyone tryed to resize a image using % instead of px?

Edit: No it doesn't work just tested it. You can't use the height="50%" the width seen to work ok but that isn't a resize for a thumbnail. It looks like I will just have to have two pictures one thumbnail and one normal size.