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.
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:
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)
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...
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?
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...
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?
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.