Forum
Gallery thumbnails with different densities
Hi,
since the last update of the gallery app (from 2.7 --> 2.8.5) I did on a clients site a little while ago, the thumbnails in the admin panel have different sizes and densities. In the resource folder and in the database are now only thumbs named image-w80h80.jpg instead of image-w80h80@2x.jpg like before. Is there a way to change that to the old setting? I checked the the different PerchGallery_Image.class versions I found in my backups, but I didn't find any different settings? I also noticed that you changed the image sizes in the new gallery app (perch_gallery_v2.8.9). Would I get rid of the different thumbnail sizes if I update the page to Perch 3 and use the new gallery app?
Thanks
Diagnostic Report: Perch: 2.8.34, PHP: 5.6.10, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $, with PDO Server OS: Darwin, cgi-fcgi Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_gallery (2.8.6) App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); ?> PERCH_LOGINPATH: /perch PERCH_PATH: /Applications/MAMP/htdocs/raykland/perch PERCH_CORE: /Applications/MAMP/htdocs/raykland/perch/core PERCH_RESFILEPATH: /Applications/MAMP/htdocs/raykland/perch/resources Image manipulation: GD PHP limits: Max upload 200M, Max POST 200M, Memory: 240M, Total max file upload: 200M F1: 6a33f95eca3667f9e0c39bf5ca2980fe Resource folder writeable: Yes SCRIPT_NAME: /perch/core/settings/diagnostics/index.php REQUEST_URI: /perch/core/settings/diagnostics/ DOCUMENT_ROOT: /Applications/MAMP/htdocs/raykland HTTP_HOST: gabriels-imac.local:5757
What sizes do you have in your
image.html
template?I didn't make any changes to the template before or after the update.
So do you now have some thumbnails that aren't showing up?
They are showing up, but the sizes are different from before and after the update. In the image listing of the gallery app you have thumbnails with 80 px (the new ones) and 160 px now. The paths are fine, nothing is missing. Just the sizes are different. On the frontend everything is fine too. Should I include the thumbnails for the image listing in the backend as well? Something like: ∼∼∼ <perch:gallery id="image" type="image" width="80" height="80" crop="true" density="2" key="admin_thumb" /> <perch:gallery id="image" type="image" width="180" density="2" key="admin_preview" /> ∼∼∼
Sorry.
They were a bit small before, so we increased the size. New ones should go in at the new size.