FIX: GD - check file exists before getimagesize

Use is_readable to check the file exists and is readable