Add double-density support to photo thumbnails #28

Merged
Aaron merged 13 commits from improve_thumbs into master 2022-11-27 14:38:22 +01:00
Showing only changes of commit c0d69f7205 - Show all commits

View File

@ -158,7 +158,8 @@ class Image extends Asset
}
return Registry::get('db')->query('
DELETE FROM assets_thumbs
UPDATE assets_thumbs
SET filename = NULL
WHERE id_asset = {int:id_asset}',
['id_asset' => $this->id_asset]);
}