Added image flag

This commit is contained in:
Matthew Barbour
2019-08-16 09:40:42 -05:00
committed by Shish
parent 6b030c00eb
commit f594e9066e
10 changed files with 228 additions and 177 deletions

View File

@@ -29,6 +29,7 @@ class PixelFileHandler extends DataHandlerExtension
$event->video = false;
break;
}
$event->image = !$event->video;
$info = getimagesize($event->file_name);
if (!$info) {