Gallery Add images error toobig.gif

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
youngs
Forum Members
Forum Members
Posts: 10
Joined: Wed Mar 02, 2011 7:35 am

Gallery Add images error toobig.gif

Post by youngs »

I am running CMS made simple 1.9.3, php 5.3.5, mysql 5.1.55, apache 2.2.17 on fedora 14.

I've just loaded CMS made simple and during the installation process everything met the installation requirements.

I installed the Gallery module via the XML file as the module manage failed to load it. When I try to add images I get a red gif with the word "Too Big" written in it. Is there some setting that I need to change in php, apache or CMS to enable the Gallery upload tool to work?

Thanks
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Add images error toobig.gif

Post by Jos »

I'm curious... how big is that image you tried to upload?
youngs
Forum Members
Forum Members
Posts: 10
Joined: Wed Mar 02, 2011 7:35 am

Re: Gallery Add images error toobig.gif

Post by youngs »

At first I tried the full size images which were 3072x2048 2.46MB thinking that it would get automatically re-sized. I then took the same picture and re-sized it in Photoshop to 800x533 341KB and still no luck. I then tried a 15x42 image and got the same toobig gif image.

I've checked that the files and directories are owned by apache and that the permissions are 664.

Also I've re-installed flash on my PC and tried the same add image operation on a different PC.

I'm not sure if it is related but I can't seem to install modules via the module manager. I have to install them using the XML module files.

Thanks
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Add images error toobig.gif

Post by Jos »

youngs wrote:I then tried a 15x42 image and got the same toobig gif image.
That doesn't seem too big to me ;)

Are you able to upload images with ImageManager?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Gallery Add images error toobig.gif

Post by Dr.CSS »

Almost sounds like a permissions problem...
youngs
Forum Members
Forum Members
Posts: 10
Joined: Wed Mar 02, 2011 7:35 am

Re: Gallery Add images error toobig.gif

Post by youngs »

I was able to load the largest of the images with the ImageManager.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Gallery Add images error toobig.gif

Post by Jos »

very strange... I'm running out of questions to ask ???
I never encountered such an issue before and I couldn't find anything in the SWFUpload forums
youngs
Forum Members
Forum Members
Posts: 10
Joined: Wed Mar 02, 2011 7:35 am

Re: Gallery Add images error toobig.gif

Post by youngs »

I added the following line to Gallery/templates/swfupload/handlers.js" to see if I could get some debug information:


case SWFUpload.QUEUE_ERROR.FILE_EXCEEDS_SIZE_LIMIT:
alert("Error Code: File too big, File name: " + file.name + ", File size: " + file.size + ", Message: " + message);
imageName = "toobig.gif";
break;

The alert box that I am getting is:
Error Code: File too big, File name: b_alp_A.png, File size: 4301, Message: File size exceeds allowed limit.

Where is the max file limit specified?

Thanks
youngs
Forum Members
Forum Members
Posts: 10
Joined: Wed Mar 02, 2011 7:35 am

Re: Gallery Add images error toobig.gif

Post by youngs »

I figured out what was causing the problem.

It turns out that I changed the php.ini file setting for "post_max_size = 20MB" to an unsupported format.

I changed it to "post_max_size = 20M" and everything works great!!!
Post Reply

Return to “Modules/Add-Ons”