homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

Image Tools for Web
Web based image resize.

 10:58 pm on Jul 7, 2007 (gmt 0)

Hi Everyone
I am making a website which allows the users to upload there own jpg images.
The whole website it jsp based and is server using tomcat application server.

I am looking for a cheap or free tool for the system so that when user upload an image it is optimized and saved in different sizes required my the front end to display.

Does anyone know about any such thing available.




 11:26 pm on Jul 7, 2007 (gmt 0)

I just found this
But it there any other better one?


 12:40 am on Jul 8, 2007 (gmt 0)


You can use CSS to resize an image automatically and possibly save yourself a step.

If you uploaded images are always in a specific area, say a <div> and the <div> has an id, let's say <div id="image_holder">, you can do a CSS like this:

#image_holder img {
width: 150px; /* set this to the maximum width you wan the image to be*/
height: auto; /* This will cause the image to resize proportionally */

If it's the height you're concerned about, reverse the CSS to width: auto; height: whateverpx.

Hope this helps,

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved