Re: treating (multiple) attached images
Mark Birbeck <mark.birbeck <at> webbackplane.com>
2009-02-05 10:13:51 GMT
You could resize the output with CSS, couldn't you?
On Thu, Feb 5, 2009 at 4:54 AM, Jabba Laci <jabba.laci <at> gmail.com> wrote:
>>> Is it possible to resize an image when visualizing it? I want to
>>> upload photos, and they might be really big. An optimal solution would
>>> be to show just a thumbnail, and when the user clicks on it, show the
>>> image in full size.
>> Not in standard XForms, AFAIK.
> Then I must find an alternative solution. What do you think of this one?
> For producing xforms, I use Java Server Pages. The instance that I
> want to visualize is loaded from a database. If it's not possible in
> XForms, then I should replace the image visualization part with normal
> XHTML. The problem is that I cannot get the image URLs from the XML
> instance with "ref" in XHTML, I guess. So should I write a JSP code
> (or bean) to extract the URLs from the XML instance, and use these
> URLs to produce the image visualization with thumbnails?
> If you have a better idea, plase let me know.
Mark Birbeck, webBackplane
mark.birbeck <at> webBackplane.com
webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)