fixed so only pics with extensions jpg, jpeg, and png upload.
Worked on getting files without pic to not upload to db, but no
extension/sometimes null. Will work on this next time.