Getting photo thumbnail on to the camera button

This involved changes like scaling the photo to the size of the display.
Matching the two sizes.