XForms: Problem

Amit Bhatnagar (amit@cs.dal.ca)
Wed, 18 Nov 1998 02:43:48 -0400 (AST)

# To subscribers of the xforms list from Amit Bhatnagar <amit@cs.dal.ca> :

I am trying to relate newspaper articles with their associated pictures,
which are currently in jpeg format. Now, after making an information
retreival system that allows the user to type in a query and see all of
the relevant articles, I would like to also show the associated picture.
The pictures are all in jpeg format, and each have their own thumbnail.

What I had envisioned was that if there are any pictures for the article,
show the thumbnail on the same form, and then allow the user to click on
the thumbnail to see the full sized picture (in perhaps a new form..)

What i thought of was to make a series of pixmap buttons on my form.. and
if there is a asociated picture with the article being shown, convert the
jpeg to pixmap and fl_set_pixmapbutton_data() on one of the buttons..

I don't know if this is a good way of doing this, and is probably not. Is
there any easier way of showing the jpeg on the form (thumbnail) and then
show its fullsize version if clicked (or even a button press).

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/