W3C home > Mailing lists > Public > www-forms@w3.org > February 2009

Re: treating (multiple) attached images

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Thu, 5 Feb 2009 10:13:51 +0000
Message-ID: <ed77aa9f0902050213k6d2cbea6jb31c1f1d2f211a67@mail.gmail.com>
To: Jabba Laci <jabba.laci@gmail.com>
Cc: xforms <www-forms@w3.org>

Hi Jabba,

You could resize the output with CSS, couldn't you?



On Thu, Feb 5, 2009 at 4:54 AM, Jabba Laci <jabba.laci@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.
> Hi,
> 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.
> Thanks,
> Laszlo

Mark Birbeck, webBackplane



webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)
Received on Thursday, 5 February 2009 10:14:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:22 UTC