added support for handle various image size and crop size. also auto zoom in for images to fit into whole screen