Cant find pictures!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Teddy

Cant find pictures!

Post by Teddy »

Hi!

When Im trying to to insert a picture in a new page the FCKeditor cant find the pictures I have uploaded to my server. I can see in my FTP program that the pictures are on the right location but the FCKeditor shows nothing.

I have just made an update to v. 1.0 Beta.2 "Hawaii"

HELP Please!!  ???

Thanks in advance

Ted
Last edited by Teddy on Tue Aug 08, 2006 7:46 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cant find pictures!

Post by Dr.CSS »

Are they in the uploads/images folder or at least under uploads/images/yournewfolder?

That is the only place it will be able to see images
Teddy

Re: Cant find pictures!

Post by Teddy »

Yes they are at the right folder /uploads/images

And I have now found another similar problems when doing a hyperlink inside the page. I have put some .pdf files in /uploads/files and its the same problem here.

Ted
jokkmac

Re: Cant find pictures!

Post by jokkmac »

Look at your "config-php"-File and configure properly:
#-------------
#Path Settings
#-------------
[...]

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'C:\yourfiles\cmsms1.0\uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://localhost/yourfiles/cmsms1.0/uploads';


#--------------
#Image Settings
#--------------

#Which program should be used for handling thumbnails in the image manager.
#See http://wiki.cmsmadesimple.org/index.php ... ge_Manager for more
#info on what this all means
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';

#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = 'C:\yourfiles\cmsms1.0\uploads\images';
$config['image_uploads_url'] = 'http://localhost/yourfiles/cmsms1.0/uploads/images';

Have fun
jokk
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Cant find pictures!

Post by Elijah Lofgren »

jokkmac wrote: Look at your "config-php"-File and configure properly:
#-------------
#Path Settings
#-------------
[...]

#Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = 'C:\yourfiles\cmsms1.0\uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = 'http://localhost/yourfiles/cmsms1.0/uploads';


#--------------
#Image Settings
#--------------

#Which program should be used for handling thumbnails in the image manager.
#See http://wiki.cmsmadesimple.org/index.php ... ge_Manager for more
#info on what this all means
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';

#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = 'C:\yourfiles\cmsms1.0\uploads\images';
$config['image_uploads_url'] = 'http://localhost/yourfiles/cmsms1.0/uploads/images';

Have fun
jokk

You're right I think. I fixed a bug where the upload urls would have slashes the wrong way on Windows installs. This should not be a problem anymore on new installs of CMSMS 1.0 beta4
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “CMSMS Core”