Hi Jabba, You could resize the output with CSS, couldn't you? Regards, Mark 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 mark.birbeck@webBackplane.com http://webBackplane.com/mark-birbeck 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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 February 2009 10:14:27 GMT