Forums
This topic is locked
Show image
Posted 11 Dec 2003 14:53:48
1
has voted
11 Dec 2003 14:53:48 Carlos Leal posted:
Hi,here's my problem, i want to connect a image related to a value, for example if the value is 5 then image will be 5.gif or if the value is 3 then the image will be 3.gif.
Thanks in advance
Carlos Leal
Replies
Replied 11 Dec 2003 16:48:51
11 Dec 2003 16:48:51 Claudio Huyskens replied:
if I understand your problem right, the value comes from the DB. Just add an image to your page and select dynamic data source from the image src. field. That should do it.
Replied 13 Dec 2003 23:21:52
13 Dec 2003 23:21:52 Mr. em replied:
be more specific please
ej malahi
ej malahi
Replied 16 Dec 2003 12:47:22
16 Dec 2003 12:47:22 Rene Bandsma replied:
Just use the <IMG SRC...> tag and make the filename 5 dynamic, after the dynamic code place '.gif' and you're done.
Be sure that you use the IMG tag correctly: <IMG SRC="<%database.value%>.GIF">.
Something like that?
Be sure that you use the IMG tag correctly: <IMG SRC="<%database.value%>.GIF">.
Something like that?