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.
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.