From 76ddf9df02681224c65d74e9e997ae11f0b7904b Mon Sep 17 00:00:00 2001
From: Laurent Laffont <llaffont@afi-sa.fr>
Date: Fri, 1 Feb 2019 14:10:57 +0100
Subject: [PATCH] dev #86018 enlarge digital resource thumbnails

---
 VERSIONS_WIP/86018      | 1 +
 library/Class/Album.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 VERSIONS_WIP/86018

diff --git a/VERSIONS_WIP/86018 b/VERSIONS_WIP/86018
new file mode 100644
index 00000000000..2878bdb9d75
--- /dev/null
+++ b/VERSIONS_WIP/86018
@@ -0,0 +1 @@
+ - 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
diff --git a/library/Class/Album.php b/library/Class/Album.php
index 0252f6b3066..1a0b3683d32 100644
--- a/library/Class/Album.php
+++ b/library/Class/Album.php
@@ -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');
-- 
GitLab