Bug 1058853 - Don't break the gallery if we have corrupt images

Can you explain why falling back to using the full size image is not sufficient here?

Also, I don't like depending on a particular string error message like this, though I know there is already code in here somewhere that does that.