mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Update to latest media alchemyst api
This commit is contained in:
@@ -99,10 +99,7 @@ class patch_370a7 implements patchInterface
|
||||
$thumbPath = $app['root.path'] . '/tmp/lazaret/' . sprintf("thumb_%s", $row['filepath']);
|
||||
|
||||
try {
|
||||
$app['media-alchemyst']
|
||||
->open($filePath)
|
||||
->turnInto($thumbPath, $spec)
|
||||
->close();
|
||||
$app['media-alchemyst']->turnInto($filePath, $thumbPath, $spec);
|
||||
} catch (MediaAlchemystException $e) {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user