Back to Media Editor Metadata Support

Publipresse
Publipresse

When you try to crop an image in media finder using your small icon, it display an error :

"Le modèle partiel /plugins/snipi/memetadata/partials/editor/_crop_image" est introuvable." on line 93 of 
/httpdocs/modules/system/traits/ViewMaker.php

To fix it, you have to specify the fileextension when you call the partial, so, in MEMetadata.php, change this line :

return $widget->makePartial(plugins_path().'/snipi/memetadata/partials/editor/crop_image', ['data' => Input::all()]);

By this line

    return $widget->makePartial(plugins_path().'/snipi/memetadata/partials/editor/crop_image.htm', ['data' => Input::all()]);
Publipresse
Publipresse

The problem is still present, see the issue in action

https://www.loom.com/share/fd5a8f8614134586b97348866439961e

1-2 of 2