Fixed the image uploader in the front end