Added preview ability befor upload

the image preview will be used with Jcrop to gain the cropping
information from the user before the image is resized and saved.