Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -77,8 +77,11 @@ class _RebuildGalleryImages
|
||||
{
|
||||
try
|
||||
{
|
||||
$image->deleteThumbnails();
|
||||
$image->buildThumbnails();
|
||||
/* Make sure the original image exists and has content */
|
||||
$file = \IPS\File::get( 'gallery_Images', $image->original_file_name );
|
||||
$file->contents();
|
||||
|
||||
$image->buildThumbnails( $file );
|
||||
$image->save();
|
||||
}
|
||||
catch ( \Exception $e ) {}
|
||||
|
||||
Reference in new issue
Block a user