Added rezise function

Added a basic function for rezising the added photos. Need to change to
canvas