Recently, I noticed a problem with thumbs.php, which is an open source image thumbnail project which is utilized by the Gazette Edition (and probably other themes). This script takes an image and generates an thumbnail of it on the fly. If anyone is having a problem with thumbnails not being generated, read on and I'll explain why this is happenning.
In general, the script that creates the thumbnails works really well, except when the filesizes of the photos are too large. When the image file sizes are too big, the script hangs on the server, and reaches the script memory limit (to prevent scripts from locking the server up), which stops it from completing the resize. Looking through my error_log files, I can see that a lot of thumbnails fail to generate, hence the following error:
[13-Jan-2010 12:55:28] PHP Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 12288 bytes) in /home/*****/public_html/wp-content/themes/gazette/thumb.php on line 270
I recommend images to be less than 1MB, and the thumbnails should generate without any issues.
Does anyone know of any plugin for WordPress to limit the file size of image uploads so people will stop uploading giant images and breaking this script?