I need some help w/image dir...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Vanja
Posts: 19
Joined: Sat 8. Nov 2003, 14:00

I need some help w/image dir...

Post by Vanja »

Hi !
I have a small newbie problem. I'v installed ImageMagik and GS and they work fine, but when I try to add an image into the article in the image preview window it says that there is no images under root dir...
1. in which dir images should be?
2. could they be any type (jpeg,gif,tif)?
3. I doubt that there is a setup error...

I succesfully uploaded image from file manager...but I cant use it...
Thanks in advance !!!

ps. Really great work indeed...Advice: You should add contribution part for developers, and finish docs ;)
brans

Post by brans »

hmm I guess that you problem is the following:

you entered the replacement tag:

{IMAGE:youimage.jpg} and didn't fit the path ??

so if you upload it via the file manager then the correct path would be:

{IMAGE:../phpwcms_filestorage/youruserid/userid_fileid.jpg} ok ?

if you only have one user registered then your userid is 1
you can view the fileid in you filemanager

if you create a subfolder f.E. called mypics ( in your filemanager ) it remains still the same path these folders are not beeing generated on you server they are just "invented" by phpwcms.
User avatar
Oliver Georgi
Site Admin
Posts: 9938
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

@brans - it not really a good tip for choosing images (but it works ;-))
Image replacement tags are ONLY for handling uploaded images without file manager and also if the ImageMagick-Thumbnail creation does not work. Then the file management solution is not neccessary.

@Vanja
If you can see list thumbnails of your uploaded images in file manager maybe you have to set the folder and the file itself to "public" and "visible/active" (green color). Open the public tab in file manager - is your image with litte thumbnail listed there then you can use the images also when editing article content modules "image with text" and "images".

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Vanja
Posts: 19
Joined: Sat 8. Nov 2003, 14:00

Problem solved...

Post by Vanja »

I've solved my problem :D ...I created've a thumbs of the images in file manager and now I can view them & manipulate with them and insert them into the articles...

Thanks for a speed-of-light help guys...

re:brans -> that wasn't a problem...I've double checked all paths and stuff...tnx anyway
brans

Post by brans »

ahh ok didn't know about this :-)
now I know thanks Oliver...

And if you need some help with coding your things then just tell in which file you want to reach what and I will have a look at it :-) and see what I can do
User avatar
Oliver Georgi
Site Admin
Posts: 9938
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Thank you. I think in a week the project is prepared for community work.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply