technique to show a preview of the image

2005-05-31 Thread sudip shrestha
Any suggestions on showing a preview of the image stored in the database? I found one which is: storing the file in a temporary folder and display from there... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: technique to show a preview of the image

2005-05-31 Thread Mark Benussi
If you have a file in the database I would highly recommend persisting it to the file system anyway for performance reasons. A preview of a file is usually a scaled down version and from that point of view I would 'work' on the image to resize it to your required preview dimensions.

RE: technique to show a preview of the image

2005-05-31 Thread Adam Lipscombe
Folks, Our JSP's use stylesheets referenced by a standard HTML link tag. E.g. link rel=stylesheet href=pages/calendar/calendar.css The graphic designers are complaining 'cos on-the-fly changes made in a stylesheet does not automatically force a JSP to get re-compiled by Tomcat 5.0.28. This

RE: technique to show a preview of the image

2005-05-31 Thread Mark Benussi
Adam. If you make changes in your css they are reflected when the file is downloaded with the page. If the client has caching turned on the changes will only be reflected when the cache is cleared manually [CTRL + SHIFT + Refresh]. You can set various arguments on your JSP to enforce that the

Re: technique to show a preview of the image

2005-05-31 Thread Dakota Jack
Looks like you sort of hijacked a thread where womeone else was trying to get assistance on another question, Adam. If I am mistaken, sorry, but if I am not it really is better to start your own thread with your own subject than to hijack another person's thread. On 5/31/05, Adam Lipscombe

Re: technique to show a preview of the image

2005-05-31 Thread Dakota Jack
I don't know why you are storing to a database, Sudip, but if you are I would just store a BufferedImage object and, then, you can deliver the image however you like, i.e. in any format (PNG, GIF, JPEG etc), in any size, with or without alpha transparency, etc. Since IO with files is CPU