Page 1 of 1
Cant find pictures!
Posted: Tue Aug 08, 2006 7:29 am
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
Re: Cant find pictures!
Posted: Tue Aug 08, 2006 7:50 am
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
Re: Cant find pictures!
Posted: Tue Aug 08, 2006 8:30 am
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
Re: Cant find pictures!
Posted: Tue Aug 08, 2006 12:52 pm
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
Re: Cant find pictures!
Posted: Tue Aug 08, 2006 5:00 pm
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