Reject non-images in autoResize()