resize image upload to original size when clicked