Forums
This topic is locked
Photo Gallery
Posted 16 Feb 2001 18:16:30
1
has voted
16 Feb 2001 18:16:30 chris williams posted:
Hi all,I'm tring to create a photo gallery from scratch. The command built into UltraDev doesn't work for me, because the images are contsantly changing.
I am using UD 4 and Access 2000. I created an admin page that allows a person a to create a caption, a message, a thumbnail, and a large image. The pure asp extension works like a charm but doesn't include the image path in the database so it doesn't do me much good. Is there any way around this?
Would SA-Fileup do this for me? I'd rather use the pure asp upload extension.
Thanks
Replies
Replied 17 Feb 2001 12:26:19
17 Feb 2001 12:26:19 George Petrov replied:
If you are uploading all your images to the same directory, then you shouldn't need to put the path in the database, because it is always the same. That was the reason we didn't add this feature to the Pure ASP Upload extension.
When you have to reference to the image from an <IMG tag, you just hard code your image directory like:
<IMG SRC="/upload/images/<%=myRS.Fields.Item("FileName".Value%>">
That should work. In some cases we noticed you really need to have the directory so we will add this feature in the next version of the upload extension.
Greetings,
George Petrov
UDzone.com
When you have to reference to the image from an <IMG tag, you just hard code your image directory like:
<IMG SRC="/upload/images/<%=myRS.Fields.Item("FileName".Value%>">
That should work. In some cases we noticed you really need to have the directory so we will add this feature in the next version of the upload extension.
Greetings,
George Petrov
UDzone.com