Added part of the implementation for resizing the initial image
Merge branch 'master' into photo_snap