Craig,
I've not tried myself but if you do, you can theoretically then do
the following in your html: write jpg($row{mypicture}).
I f that doesn't work and even if it does, a cleaner way to do this
would be for the rowset column "mypicture" to instead be a column of
image urls calling the image.a4d script the find and load the picture.
Then you would do something like this:
<img " src="<%= $row{"mypicture"} %>"/> where $row{mypciture} would =
something like "/image.a4d?img_field=[Images]
Thumbnai&recnum=xxxxx&format=jpg"
In fact you should use something like the following to build the link:
$qry := build query string(""; "img_field"; "[Images]Thumbnail"; \\
"recnum"; $recnum; \\
"format"; "jpg")
Check the documentation for further info.
Regards, Michael.
On 2 Nov 2005, at 22:54, Aparajita Fishman wrote:
I have a picture associated with each record in my database. Is it
possible to display the pictures within a RowSet?
If you mean to ask whether a picture field can be mapped into a
RowSet, the answer is yes.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/