sent in
the following
hack...
This hack gives more
sophisticated, HTML aware, handling of product
images. You an specify the type of image you require in your database,
with four options possible at present:
thumb A thumbnail image which references a larger version
image An image file with no related thumbnail
text A text string, to be displayed instead of an image
(blank) No image
This hack also allows you to refer to image file names without needing
to include HTML within your database file.
Currently, if you use the 'thumb' option, a hyperlink will be created to
large_<image file>, eg foo.jpg will link to large_foo.jpg. Of course to
have the large image filename come from the database would not be much
work (for someone...)
I have this hack working, but have not tested this document, so if you
have difficulties with it, let me know and I will send any corrections.