Images uploading but NOT displaying

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.
Post Reply
saltcod
New Member
New Member
Posts: 6
Joined: Fri Nov 09, 2007 2:22 am

Images uploading but NOT displaying

Post by saltcod »

HI,

I think I'm going to go nuts. I can upload images via the image manager, but can't see them in my pages.

config.php looks like so:

$config['image_uploads_path'] = 'C:\Inetpub\stjohnsarchdiocese.nf.ca\wwwroot\chalktoslate\cmsmadesimple\uploads\images';

$config['image_uploads_url'] = $config['root_url'] . '\uploads\images';


I've tried switching forward slashes to backslashes, etc. I've tried linking directly to the address (http://www.........../uploads/images)
with no avail.

any ideas? All the images are showing up in the main image manager window, so the first address must be right (C:\Inetpub\stjohnsarchdiocese.nf.ca\wwwroot\chalktoslate), but the second one must not be correct.

This has been addressed a few times on the forum, but seemingly none with a windows-specific answer.  Thanks.
alby

Re: Images uploading but NOT displaying

Post by alby »

saltcod wrote: any ideas? All the images are showing up in the main image manager window, so the first address must be right (C:\Inetpub\stjohnsarchdiocese.nf.ca\wwwroot\chalktoslate), but the second one must not be correct.

This has been addressed a few times on the forum, but seemingly none with a windows-specific answer.  Thanks.
Can you display your images in direct way: http://www....../uploads/images/img.jpg ?
If yes, check address url with your config.php

Alby
saltcod
New Member
New Member
Posts: 6
Joined: Fri Nov 09, 2007 2:22 am

Re: Images uploading but NOT displaying

Post by saltcod »

Hi,

the only address that makes the images show up in ImageManager is the C:\Inetpub\..........). When I use  http://www....  the images don't show up.

But no matter what I use for the $config['image_uploads_url']  the images won't show up on the pages.  They show up in Tinymce, but they don't show up in the pages on the site when I look at them.

Thanks for ANY help!

Terry
Pierre M.

Re: Images uploading but NOT displaying

Post by Pierre M. »

Hello Terry,

what is the content on your server of the /uploads and /uploads/images folders ? I mean : seen from your SSH or FTP agent.

Pierre M.
saltcod
New Member
New Member
Posts: 6
Joined: Fri Nov 09, 2007 2:22 am

Re: Images uploading but NOT displaying

Post by saltcod »

Hi,

In uploads/images  are the images that I've been uploading.  They're coming up in the image manager, but not in the individual pages.    Ideas?  I'm stumped!

Thanks

Terry
jezjones
New Member
New Member
Posts: 5
Joined: Tue Feb 12, 2008 4:21 pm

Re: Images uploading but NOT displaying

Post by jezjones »

I had a similar problem.

I am using apache but on windows. I am normally a linux user so quite happy with the permission stuff involved with uploading images.

Since you do not have permission masks on windows such 0755 etc, i figured i did not need to think about them.
But then when i uploaded an image i could not see it. I knew the path was correct but it was not displayed.

Fix: - Site Admin -> Global Settings ->File Creation Mask (umask): Test

After i tested that, i re-uploaded the image and works.. the first version of the image i uploaded still does not appear.

Not sure if this will work for you, but its worth a try.
Pierre M.

Re: Images uploading but NOT displaying

Post by Pierre M. »

Hello,
saltcod wrote: In uploads/images  are the images that I've been uploading.  They're coming up in the image manager, but not in the individual pages.
If the files are in uploads/images say uploads/images/somefile.jpeg you should access them as Alby has suggested with http://some.host.net/cms/uploads/images/somefile.jpeg if not there is some serious flaw in the install.

How do you try to have the images "coming up ... in the individual pages" ?

Do you see anything usefull in your http logS ?

Pierre M.
Post Reply

Return to “CMSMS Core”