?
Solved

Preview JPG File.

Posted on 2003-04-01
4
Medium Priority
?
204 Views
Last Modified: 2010-03-31
Hi experts,

I would like to create a web album with JSP. My idea is about I put all my d-cam photos in a directory. At the same time, I will put an index.jsp in that directory.

When my friends are accessing the directory, they will see the image preview. They can see the original image when they click it.

I would like to know how can I generate a image preview (thumbnail) with Java?

If possible, please provide few lines of code for reference.
0
Comment
Question by:matchz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 8244715
0
 

Expert Comment

by:elpp
ID: 8245305
Or, instead of re-inventing the wheel, take a look at this project:

http://sourceforge.net/projects/keptar/

0
 

Author Comment

by:matchz
ID: 8260764
Hi girionis, the sample code in the link is exactly what i want. Thank you very much.

elpp, for your suggestion, it also helps me a lot. It will save me a lot of time if i can deploy it successfully, but I  find it is quite bugs. I cannot login even now.

= P
0
 
LVL 35

Expert Comment

by:girionis
ID: 8260777
 Thank you :-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question