Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Image Upload (According to Manual)

Quote Reply
Image Upload (According to Manual)
I implemented the image mod that is in the manual to my instalation, It works fine and uploads the image, however i've a problem referencing that image because the <%image%> tag refers to the file name, but for some reason the uploaded files do NOT keep the standard naming convention I use, an aditional directory is created when a image is uploaded, how can I prevent this from happening?

Example:

If I upload image test.gif to directory /home/site/www/images/ when I check the directory I find something like:

drwxr-xr-x 2 site site 4096 Mar 2 23:55 1
drwxr-xr-x 2 site site 4096 Mar 3 16:43 2

Why are directories 1 and 2 being created??? It makes then impossible to reference the image from within a template like this <img src="/image/directory/<%image%>"> I can not predict what path I need to use lo link the image.

Last edited by:

jaltuve: Mar 3, 2003, 3:27 PM
Subject Author Views Date
Thread Image Upload (According to Manual) jaltuve 3098 Mar 3, 2003, 3:18 PM
Thread Re: [jaltuve] Image Upload (According to Manual)
pugdog 3032 Mar 3, 2003, 8:59 PM
Thread Re: [pugdog] Image Upload (According to Manual)
jaltuve 3000 Mar 4, 2003, 8:32 PM
Post Re: [jaltuve] Image Upload (According to Manual)
pugdog 2960 Mar 8, 2003, 3:16 PM
Thread Re: [jaltuve] Image Upload (According to Manual)
Paul 2965 Mar 8, 2003, 3:30 PM
Post Re: [Paul] Image Upload (According to Manual)
jaltuve 2954 Mar 8, 2003, 6:02 PM