From c6b3a16c4d6baf90f1fd2e28282d9f28f3a92a25 Mon Sep 17 00:00:00 2001 From: Mateus Machado Luna Date: Fri, 18 May 2018 10:59:07 -0300 Subject: [PATCH 1/8] Adds sticky position fix for ItemsList Action cells. --- src/admin/components/lists/items-list.vue | 147 ++++------------------ 1 file changed, 25 insertions(+), 122 deletions(-) diff --git a/src/admin/components/lists/items-list.vue b/src/admin/components/lists/items-list.vue index d08c42ef6..c4d076766 100644 --- a/src/admin/components/lists/items-list.vue +++ b/src/admin/components/lists/items-list.vue @@ -43,7 +43,7 @@   - +
{{ column.name }}
+ +   + + @@ -132,84 +138,6 @@ - @@ -360,42 +288,7 @@ export default { + From 9f84111e16efae4621dc64ee8a21b816322b9bc7 Mon Sep 17 00:00:00 2001 From: Leo Germani Date: Fri, 18 May 2018 16:21:50 -0300 Subject: [PATCH 8/8] Better perfomance to generate thumb from pdf --- src/classes/class-tainacan-media.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/classes/class-tainacan-media.php b/src/classes/class-tainacan-media.php index cfa6ff43b..fd00df997 100644 --- a/src/classes/class-tainacan-media.php +++ b/src/classes/class-tainacan-media.php @@ -109,8 +109,10 @@ class Media { return null; } - $imagick = new \Imagick($filepath); - $imagick->setIteratorIndex(0); + $imagick = new \Imagick(); + $imagick->setResolution(72,72); + $imagick->readImage($filepath . '[0]'); + //$imagick->setIteratorIndex(0); $imagick->setImageFormat('jpg'); return $imagick->getImageBlob(); }