Dynamic thumbnail image creation

hi, i am developing a photo gallery, i would like to know how to create thumbnail for any size of image (width, height)..,how to do this?
[151 byte] By [loguKKa] at [2007-11-26 17:52:06]
# 1

One way to shrink image size is to specify smaller width and height propotionate to the original width and height.

For example if you have an image

<img src="someimage.jpg" width="50" height="100"/>

Then to display a smaller image you would put it this way:

<img src="someimage.jpg" width="25" height="50"/>

But if you want to physically make the image smaller then try an Image utility like Photoshop.

I don't know if there's a way to create thumbnails with Java or JSP. My gut feeling says there probably isn't but I could be wrong.

appy77a at 2007-7-9 5:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
no, i want to create thumbnail image to display it.. dynamically to create.., say., in php i can say using GD, ImageStick.,etc., is there way in jsp, java
loguKKa at 2007-7-9 5:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Yes, there is a way: Java Image.
beradriana at 2007-7-9 5:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Ah ok, there's some nice documentation on Java Image here: http://java.sun.com/j2se/1.4.2/docs/guide/imageio/index.html
appy77a at 2007-7-9 5:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
thanks
loguKKa at 2007-7-9 5:04:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...