Default thumb.php “Not Found” Image
I’m regularly using thumb.php and I realize that it doesn’t always find the image I want it to. Is there an easy way to set a default image for when the image thumb.php was meant to resize returns 404?
Yes. If you open thumb.php, you can add a “not found image” on this line:
if(! defined('NOT_FOUND_IMAGE') ) define ('NOT_FOUND_IMAGE', '');
You’d need to know the relative path, so it would be something like:
if(! defined('NOT_FOUND_IMAGE') ) define ('NOT_FOUND_IMAGE', '/path/to/your/images/file.jpg');