Although I have not done this myself, I believe the following should work.
First make a field in your database (XXX.cfg file) that will hold the URL for the image you want displayed eg(www.testing.com/images/test.gif).
Now in the html.pl file you need to modify the html_record subroutine.
Wherever you want to display the image place the following code:
Code:
print qq|
<IMG src="http://$rec{'image'}">|;
You must consider picture size, as it will affect the form layout. You could add other fields to the database that describe attributes of the image file, like an ALT value, etc.
Note that changing the html_record subroutine will only display the image when the record is viewed from a search. Images will not show while searching, modifying, etc. records, because that view is controlled by the html_record_form subroutine.
Remember that if you change the location of the image file using this system, you must change the path entry in the database.
Sincerely,
Lauren Stegman