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
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
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
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
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
, 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