v0.1 Blacklist and Exif data

This commit is contained in:
Miloš Holba
2020-09-05 14:35:51 +02:00
parent 95f6695d00
commit 6effd4a7d9
15 changed files with 456 additions and 67 deletions

View File

@@ -528,4 +528,10 @@ function get_pretty_name($basename, $name, $mimetype)
}
return $name . '.' . $mimetype;
}
}
function get_image_meta_data($file)
{
if(get_file_type($file->getMimeType()) === 'image') {
return exif_read_data($file);
}
}