Image upload preview widget not uploading image.