Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the thumbnail size? #36

Open
HSage opened this issue Oct 2, 2016 · 1 comment
Open

Changing the thumbnail size? #36

HSage opened this issue Oct 2, 2016 · 1 comment

Comments

@HSage
Copy link

HSage commented Oct 2, 2016

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
Copy link
Owner

Philio commented Feb 16, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants