Added early version for image preview on upload.