resizing oversized image (mobile case in mind).