Commit 76ddf9df authored by Laurent's avatar Laurent

dev #86018 enlarge digital resource thumbnails

parent 6684a4d9
Pipeline #6233 passed with stage
in 33 minutes and 24 seconds
- ticket #86018 : Ressources numériques : Augmentation de la taille de la vignette générée pour les notices de ressources numériques
\ No newline at end of file
......@@ -739,7 +739,7 @@ class Class_Album extends Storm_Model_Abstract {
try {
$image = new Imagick($this->getVignettePath());
$image->thumbnailImage(160, 0);
$image->thumbnailImage(300, 0);
if (!$image->writeImage($this->getThumbnailPath())) {
$this->addError('Erreur lors de l\'enregistrement de la vignette');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment