Added image validation and styles for uploading images