Philio / bootstrapdefault

A modern and responsive theme for Piwigo built with standard Bootstrap components and using the default Bootstrap theme. Intended for easy customisation using Bootstrap styles or as a parent theme for creating responsive themes for Piwigo.
https://philio.me
31 stars 10 forks source link

Changing the thumbnail size? #36

Open HSage opened 7 years ago

HSage commented 7 years ago

Hello there, Is it possible in any way to change the size of the category/album thumbnails? I know I can change the whole thing with css, but that doesn't change the resolution of the source image so if I enlarge them they will get blurry or if I change the dimension, they will get distorted. If not, no problem. Just asking :)

Philio commented 7 years ago

As it stands you'd need to create a custom theme using this theme as a parent and update the relevant template files as the thumbnail size is hardcoded for now.

The files you need to look at are mainpage_categories.tpl and thumbnails.tpl.

It shouldn't be too hard to do, you'll find some pointers on the Piwigo site to creating a new theme (I think you can probably get away with a minimum of a themeconf.inc.php file.