I haven't suffered this problem but if setting image width and height does not work (I can't understand why really) in IWebMvc you can see code to generate thumbnails on the fly
On Wed, May 7, 2008 at 5:31 PM, ddduuu <
davidkdu@...> wrote:
Hi, all,
I can successfully display the images returned from dwr call as
bufferedImage which is retrieved from database, my problem is that the image
is too big to fit my javascript window, I want the image exactly to fit the
window, and resize with the window on the browser without going back to call
dwr java function again to recalculate, so I mean my javascript program can
recalculate the size of the image, with setup like this:
day1.jpg
I can do that with javascript, but with the dwr retrieved image like this:
/webapp/dwr/download/10ED6EDB38A3C797840F9AB2E2764FD2
I can not set style with the size, if I do, it will not display anymore.
Any suggestions for me in terms of what to do to resize it with javascript?
Thanks in advance.
Dave
--
View this message in context: http://www.nabble.com/how-to-resize-image-returned-from-dwr-call-bufferedImage-tp17106418p17106418.html
Sent from the DWR - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...