mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Replace calls to mediavorus to getMediaFromUri
This commit is contained in:
@@ -61,7 +61,7 @@ class recordutils_image
|
||||
|
||||
$rotation = null;
|
||||
try {
|
||||
$image = $app['mediavorus']->guess($subdef->get_pathfile());
|
||||
$image = $app->getMediaFromUri($subdef->get_pathfile());
|
||||
if (MediaInterface::TYPE_IMAGE === $image->getType()) {
|
||||
$rotation = $image->getOrientation();
|
||||
}
|
||||
|
Reference in New Issue
Block a user