Try to limit image size