UI Fixes part III.

This commit is contained in:
Čarodej
2022-03-14 10:10:23 +01:00
parent 3c35ea9a4e
commit fe3fbe7db7
34 changed files with 137 additions and 121 deletions

View File

@@ -31,15 +31,15 @@ class ProcessImageThumbnailAction
// Make copy of file for the thumbnail generation
Storage::disk('local')->copy("files/$userId/{$fileName}", "temp/$userId/{$fileName}");
// Create thumbnail instantly
// Create thumbnails instantly
($this->generateImageThumbnail)(
fileName: $fileName,
userId: $userId,
execution: 'immediately'
);
// Create thumbnail later
($this->generateImageThumbnail)->onQueue()->execute(
// Create thumbnails later
($this->generateImageThumbnail)->onQueue('high')->execute(
fileName: $fileName,
userId: $userId,
execution: 'later'

View File

@@ -9,7 +9,7 @@ class StoreFileExifMetadataAction
$exif_data = get_image_meta_data($file);
if ($exif_data) {
// Conver array to collection
// Convert array to collection
$data = json_decode(json_encode($exif_data));
$item->exif()->create([