pub fn has_image_extension(value: &str) -> Result<(), ValidationError>
Check if a path has a valid image extension