changed image size when capturing image