silverstripe/silverstripe-framework — pull request #3726 by willmorgan (2014-12-11 15:22:34+00:00)
Title: FIX: GD - check file exists before getimagesize

Use is_readable to check the file exists and is readable, otherwise a warning occurs when the file doesn't exist.