Problems with Image Manager

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.
dcross

Problems with Image Manager

Post by dcross »

Upgraded to 0.13, PHP 4.3.4 and GD2, Win2k3.

First time I've really used Image Manager.  If I upload an image, the page complete and the image thumb appears.  So I go ahead an upload another, the page completes but the image doesn't appear.  I get a white space as though the browser hasn't completed the rendering of the page.  Now if this happens when working in a folder, the folder disappears as well.

Now looking at the server file themselves, the folder does exist, with the uploaded images present.  But only the thumb for the image that worked is present.

So how do I get CMSMS to read this folder and show it again?

Regards.
dcross

Re: Problems with Image Manager

Post by dcross »

It appears to be a size of image problem.  Is there a limit to the dimensions and\or filesizes here?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problems with Image Manager

Post by tsw »

check that your GD installation is working in php

and maybe this could help

http://wiki.cmsmadesimple.org/index.php ... ge_Manager
dcross

Re: Problems with Image Manager

Post by dcross »

GD works.  If I upload a small, say less than 100K file it works fine.  Anything above that it just doesn't want to know.  The file is actually uploaded to the uploads/images folder but the thumbnail is simply not created.  All the while the image file exists - without the thumbnail, the folder will not appear in Image Manager.  I gave to manually delete the image file before Image Manager will show the folder.

GD works perfectly fine with Coppermine gallery which also runs on this server and it works with images up to 2mb in size.

The CMSMS help pages for Image Manager do not indicate anything about file sizes.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problems with Image Manager

Post by tsw »

File size restrictions usually come from php configuration, but if your image is uploaded alright I cant see that being a problem.

But if GD is converting big image and its hitting php memory limit or execution time (Im not sure how ImageManager handles multiple images, if it tries to do all images at one run it might hit those restrictions)

Or this could be a strange bug.. I cant reproduce it though (just uploaded 1Mb file to my test site and everything worked fine)

create file info.php with this content



and look for
max_execution_time
memory_limit
and upload_max_filesize
apache has its own restrictions for $_POST size but as your image is uploaded I cant see that being in the way (and check that the uploaded image is fine after upload)
dcross

Re: Problems with Image Manager

Post by dcross »

tsw wrote: max_execution_time
memory_limit
and upload_max_filesize
max-execution_time = 90
Can't find memory_limit but 'memory_limit = 16M' is listed in the php.ini file
upload_max_filesize = 2M

also max_input_time = 90

Also, when clicking the Bin icon in IM to delete the image - the file is not actually removed from the server like I expect.

Cheers.
Last edited by dcross on Mon May 29, 2006 12:44 pm, edited 1 time in total.
dcross

Re: Problems with Image Manager

Post by dcross »

In the config.php file, the line

$config['image_manipulation_prog'] = 'GD';

What does ist need to be to use ImageMagick?  Do I just replace GD is ImageMagick?

I know to set the library path.  Is this all I need to do in order to use ImageMagick?  Does PHP need configuration or anything?

Cheers.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems with Image Manager

Post by Dr.CSS »

can you FTP images to the uploads/images folder then see them in IM...
or what ever folder you have... is it in the uploads/images folder...


  mark
dcross

Re: Problems with Image Manager

Post by dcross »

mark wrote: can you FTP images to the uploads/images folder then see them in IM...
or what ever folder you have... is it in the uploads/images folder...
I can upload via FTP.  It is in uploads/images.  The image does not appear in IM if I FTP it.

I beginning to wonder if there a delay in the processing.  Some of the images that were not showing last night now are this morning??
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problems with Image Manager

Post by tsw »

Does your apache/php process have write permissions to /uploads/ folder?
dcross

Re: Problems with Image Manager

Post by dcross »

tsw wrote: Does your apache/php process have write permissions to /uploads/ folder?
I guess so, surely if it didn't the upload wouldn't work.  I'm using Windows Srv 2003 - not Linux\Apache.  I don't think PHP runs as a different account.

Cheers.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problems with Image Manager

Post by tsw »

Hmm anything in the server logs? (I dont really know enough about windows servers)
dcross

Re: Problems with Image Manager

Post by dcross »

tsw wrote: Hmm anything in the server logs? (I dont really know enough about windows servers)
I'm affraid not, I've already looked.  Is there any way I can PHP, GD or even CMS to log what it's doing?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problems with Image Manager

Post by tsw »

change debug=true in config not sure how much debuggin imagemanager does...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems with Image Manager

Post by Dr.CSS »

if you have a folder inside uploads/images/yourfolder...
going to IM you will see images and at the top your folder is listed, it shows folders first then images...
clik the folder... yourfolder  you should be able to see your images...
i have 13 folders in mine and i can just clik one to see the images...

ok if you read the link in the post tsw yesterday all i've said is reduntant...
Locked

Return to “CMSMS Core”