Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Trouble uploading big images


8 Posts   1435 Views


6 November 2008 at 3:26am Community Member, 129 Posts

Hi everybody

I'm having some trouble uploading big images. Everytime I upload an image over 1-2 mb, the individual site becomes blank.

I can see other pages, but the subpage with the large image goes blank. In the CMS the picture field just doesn't show a picture.

Can anyone help me out?

See php info here:


10 November 2008 at 11:17pm Community Member, 129 Posts

No one?


11 November 2008 at 5:48am Community Member, 470 Posts

I would guess it has something to do with the php memory limit as you're only running 24M right now.

Create a file php.ini in your root directory of SS (or root directory) and add this line

memory_limit = 32M (or 64M)


11 November 2008 at 11:27pm Community Member, 129 Posts

Hi LeeUmm

Thanx for your help. I did what you said, but I'm still having some troubles.

I tried to upload a 3,6 mb image in the Files & Images tab in SS, but when I press the "edit asset" button just to view the image, the "View/Edit Asset"-window just turns blank. And the same thing happends if I insert a large image into a page, the page turns blank...

Any ideas?


12 November 2008 at 6:42am Community Member, 470 Posts

It probably is a memory issue as that is a pretty large file to insert. On the blank page, when you view the source of it, does it have any output/errors/warnings?


12 November 2008 at 11:16pm Community Member, 129 Posts

No, no error or warnings in the source code. Have a look at the page here:

I know it's a large file, but my clients haven't always got time or knowledge to check file sizes and resize images before they upload to the site. So I would really like some sort of solution to the problem...


12 November 2008 at 11:31pm Community Member, 36 Posts


I have a similar problem. I have to upload files, between 5-15MB. When i try to upload the file, i got that error:

Notice: Undefined variable : status in public_html/cms/code/AssetAdmin.php on line 221

and the uploading stops. Anyone knows a solution?


13 November 2008 at 5:29am Community Member, 470 Posts

Noticed your phpinfo() is still showing 24m. Maybe the increase didn't work. You're running in cgi mode, so that is the correct way to do it.

Could try putting site in dev mode to see any errors, but doubt it will show anything. in config add Director::set_environment_type('dev');

Can also look through your php error logs for anything.