Page 1 of 1

File manager problem

Posted: Fri 10. Dec 2004, 09:25
by Hockey
When I upload a file (an image GIF in this case) it phyically gets sent to folder content/images/

However when I add it to my article content using replacement tag:

Code: Select all

{IMAGE_LEFT:article_images/test_image.gif}
and check my article...the image does not display :cry:

When I check the files existance on the server it looks as though it's been renamed to some random characters to avoid name collisions. But the HTML that is generated after appears to reference the file I uploaded, only it's looking in the wrong directory.

The HTML generated by the replacement tag is:

Code: Select all

<img src="picture/article_images/test_image.gif" />
Am I doing something wrong or is this a bug???

Thanks again :)

Posted: Fri 10. Dec 2004, 09:30
by Pappnase
hello

the image tag always look into the picture folder.

so there 2 solutions

1. you upload the images in the picture dir

2. you change the path in the tag e.g.

Code: Select all

{IMAGE_LEFT:../content/images/test_image.gif}
p.s.
i have now add a notice
http://www.phpwcms-docu.de/image_tags.phtml

Posted: Fri 10. Dec 2004, 15:03
by Hockey
When I upload files via phpWCMS there are no files under the picture directory???

In fact this last time I uploaded a file I couldn't find it anywhere :(

I am not using the article image wizard, but rather the generic file manager. I have found the files I uploaded on the server, but under

Code: Select all

content/images

Posted: Fri 10. Dec 2004, 16:57
by Pappnase
hello

in content images would be the images stored wich you will use in articles.
and the pictures you upload via phpwcms are always accesed via the file browser