Only jpg is allowed for image uploads