One of the popular components in JSOS - Image Scale servlet obtains an extended functionality. This servlet lets you scale the images on the fly. And you can do that for the local images (images within your web applications) as well as for the remote images:
/servlet/ImageScale?/mybigpic.gif
or
/servlet/ImageScale?/http://some_host/mybigpic.gif
Servlet supports both server side and client side cache. You can save the scaled images on your server so next time they will be served to the users right from the cache as well as provide Expires header for client side cache.
The typical use cases are:
- image thumbnails for your galleries,
- scaling images for the mobile web sites
No comments:
Post a Comment