Fixing errors on image uploading being ignored or missing