Merged: 'Image Manager' not working? please help

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.
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Merged: 'Image Manager' not working? please help

Post by chipper_001 »

Please can someone help, I can't seem to add images to my page, they don't seem to upload properly, when I go to 'image manager' and browse and then send an image, only the image name and size comes up eg image.jpg 16kb the actual thumbnail doesn't show, and the picture isn't displaying on my page.

Can anyone help?
aozuas

Re: Images not being uploaded correctly?

Post by aozuas »

Maybe you just cant see the image thumb. Try to go here: Site Admin » Global Settings
and change File Creation Mask (umask): from 022 to 002
try to upload I new image now to see if works.
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: Images not being uploaded correctly?

Post by chipper_001 »

Thanks but I did try that and still doesn't work

When I  double click on the image file, in 'image manager' (which as I say doesn't contain the picture thumbnail, just the name and size of the image) it opens up a new window and gives me a 500 internal server error, please help!

Thank you 
aozuas

Re: Images not being uploaded correctly?

Post by aozuas »

Ok, but if you access the images folder via ftp, don't you see nothing there?
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: Images not being uploaded correctly?

Post by chipper_001 »

No, I have tried that too, they are broken on the website (with the red cross in corner) if you ftp should they show in the 'image manager'? cause they don't? there is nothing there unless I actually upload it from my pc, but as I say when I don't see the actual pic itself just the size and name??
aozuas

Re: Images not being uploaded correctly?

Post by aozuas »

ok. but if you upload images via FTP, after that could you see it in the image manager?
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: Images not being uploaded correctly?

Post by chipper_001 »

No, that's what I meant, there are no images there, and I have just noticed when I go in to edit or create a page and click on the icon to add an image and then click the browse folder, should that browse folder be a yellow folder? cause its not, its the icon that you normally get when your computer can't find the proper file to open a programme?
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: Images not being uploaded correctly?

Post by chipper_001 »

In my image manager I dont see any image folders of files, not even the preloaded ones from cmsms, I have seen an article which talks about this http://wiki.cmsmadesimple.org/index.php ... ge_Manager but I don't understand what I need to do, its says about the config.php file but I have checked mine and its blank? could this be the problem?

Please can someone help me, I would be so grateful!

Thank you
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

'Image Manager' not working? please help

Post by chipper_001 »

Please can someone help me, my image manager isn't working, I don't have any image files or folder in there, with I try to upload an image I don't get the the actual thumbnail pic all I get is the name of the image and the size and it doesn't display on my page when I go to add it.

When I try to insert the image in page, I click browse for my image but again I can actually see a picture of the image, just the name.

I have looked for help on cmsms and it does say the following,

'For the Image Manager to work, PHP 4.3+ (older versions may work) is required, and either PHP built-in GD library, or NetPBM binary, or ImageMagick binary accessible by PHP. Binaries are the executable files for the web server.'

'Do you have GD with PHP?

You can check if GD is installed on your web server by creating a small PHP script to output the system parameters. '


Save the above code in a file name called phpinfo.php running this script on your web server (i.e. view the file on the web server using a web browser), look for the GD parameters, GD should be version, say about 2.0+. If you did not find the GD information, then GD is not installed.
'

Could this be my problem? the only thing is I don't know how to check this, how to I open up phpinfo.php in a browser, I click on it and it opens in dreamweaver?

Please please can someone help?

Thanks you
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: 'Image Manager' not working? please help

Post by chipper_001 »

I've manage to find out it shouldn't be CG, I think my file is set up correct, I'm thinking it may be to do with permissions, but nor sure how to check, or know what they should be set to, does anyone know?

Thanks
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm
Location: Helsinki, Finland

Re: 'Image Manager' not working? please help

Post by KO »

Have you tried uploading smaller image. It could be also php memory limit which is running out with GD.
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: 'Image Manager' not working? please help

Post by chipper_001 »

Hi KO, yeah I'm getting no images at all come through, there is nothing in my image folder, I believe there should be the cmsms gif images in there from when I installed it, but there is nothing. I think its my permissions its says the following

    If the web server process (Apache, for instance, often known as "httpd", "nobody", "www-data", etc) runs PHP and "owns" the files that it writes, then you'll need to use 777 permissions on directories that need to be writable, and 666 on files that need to be. The reason for this is, while you (your user) may own the directories and files, another user (the web server) needs to be able to write in/to them.

    CHMOD these directories to 777:

        * tmp
        * tmp/templates_c
        * tmp/cache
        * uploads
        * uploads/images
        * modules


...but do I change all folders and files, to what they recommend in the directories above or just certain ones?

Thanks
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: 'Image Manager' not working? please help

Post by chipper_001 »

I understand what directories to change, but dont know what files need their permissions changing?
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm
Location: Helsinki, Finland

Re: 'Image Manager' not working? please help

Post by KO »

I never needed to change any other File permission in CMSms than config.php and I believe that has nothing to do in this case.

And you tried also png, gif images? Also jpg images can be noncompatible for browsers if the colours are in CMYK.

Check also error logs as those might give you some more info.
chipper_001
Forum Members
Forum Members
Posts: 30
Joined: Mon Jan 12, 2009 11:29 am

Re: 'Image Manager' not working? please help

Post by chipper_001 »

Thanks KO, my 'image manager' has nothing there, no folders, images, files nothing, It should have the cmsms preloaded ones, that are in the images file from when i uploaded it, but can't even see that, somthing is wrong somewhere?
Post Reply

Return to “CMSMS Core”