add error messages for incorrect input in title and url fields for new pictures