Bug 848916 - don't open images that are too big