I get a blank white page when uploading images?
Problem:
When I upload an image through the software I am getting a blank white page. This appears to be happening only when I upload an image other than a .gif. What is causing this?Solution:
There are a few things to try and keep in mind if this should happen.This is the first thing to try...Your version of GDLibrary is less than 2.0 but reported to be greater than 2.0. We list 2.0 as a requirement of the software but there are too many hosting companies that do not maintain this library very well so we created a switch in the admin to accomodate this. See the images configuration section of your admin and specifically for the setting "imagecreatetruecolor (GD Library 2.0) manual switch:". This should be set to Manual Override if you are experiencing this problem.
You also have to remember a couple things about uploading images....
1) Your php script has a timeout. This is the maximum time limit the script will process any single invocation of itself. Each request to the script will timeout after a certain time.
2) That the images you or your client are trying to upload have to be uploaded before the script times out. If the script times out before this takes place the blank white page is the mostly likely response from the server. So when uploading numerous enormous images the bandwidth between you and your client could prove to be a problem.
3) Your server needs enough free space within memory to open and manipulate the images. To open and manipulate a 1MB image within memory will mostly likely take more than 1 MB of memory. We have found that some hosts are beginning to place limits on the amount of memory any script can use at any one time. This problem occurs on jpg images (99% of uploaded images) and because jpg images are the only resized images. You can test this problem (to see if memory is the issue) by uploading different sized jpg images. Start out with a very small image and increase the size in each test. The smaller images may make it onto the site where the larger images will not.
When the blank white screen appears there has usually been an error at the server level and this error may not be displayed to the browser. In these instances the best way to narrow the problem down further is to check your server error logs. This will tell you which of the above problems could be the issue. You may need to contact your host to have access to or find the error_log.
You may talk to your host to see if you are reaching any of these limits and adjust your settings or the servers settings accordingly.
