RE: Trouble printing image

2008-10-15 Thread Dane Laverty
Camurcuoglu [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 12:25 PM To: users@wicket.apache.org Subject: Re: Trouble printing image while serving the image resource, setting the Content-Disposition http header to inline; filename=x.png might help, but this is just a guess

Re: Trouble printing image

2008-10-14 Thread James Carman
Try the FileImageResource class mentioned here (by me :): http://www.nabble.com/Mount-files-outside-container-td19232069.html On Tue, Oct 14, 2008 at 3:09 PM, Dane Laverty [EMAIL PROTECTED] wrote: I'm adding an image to my page with the following code. It works correctly, and the image

Re: Trouble printing image

2008-10-14 Thread Serkan Camurcuoglu
while serving the image resource, setting the Content-Disposition http header to inline; filename=x.png might help, but this is just a guess.. Dane Laverty wrote: I'm adding an image to my page with the following code. It works correctly, and the image displays fine. However, we are

RE: Trouble printing image

2008-10-14 Thread Dane Laverty
: Re: Trouble printing image Try the FileImageResource class mentioned here (by me :): http://www.nabble.com/Mount-files-outside-container-td19232069.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Trouble printing image

2008-10-14 Thread James Carman
reading the image file., ioe); return null; } } } -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 12:16 PM To: users@wicket.apache.org Subject: Re: Trouble printing image Try

RE: Trouble printing image

2008-10-14 Thread Dane Laverty
, October 14, 2008 2:31 PM To: users@wicket.apache.org Subject: Re: Trouble printing image Yeah, sorry about that. I think the FileUtils class is one of my own, actually (from work or I'd just give it to you). I leave it up to the reader to write the file copy method