Announcement

  •  » Extensions
  •  » Stripped theme - Thumbnails size

#1 2012-06-11 12:39:07

sda
Translation Team
2012-06-11
7

Stripped theme - Thumbnails size

I use stripped theme with 3 albums /line with description below the albums.
But I would like the thumbnails to be bigger.
I already changed their size in (Photo-Definitions) to 300x300 but they are scaled to 160x120.
How can I do to have thumbnails with 300x300?
Thank you.

Offline

 

#2 2012-06-11 13:12:09

flop25
Piwigo Team
2006-07-06
7037

Re: Stripped theme - Thumbnails size

Hello
I recommend you to wait for the next release 2.4. If you can't wait or whatever, just Regenerate the thumbnails, in the Batch Manager


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-06-11 13:25:58

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Stripped theme - Thumbnails size

I have just tested Stripped on Piwigo 2.4 with big thumbnails (using XXS size) and Stripped scales down the thumbnails at display. I notify Zaphod.

Offline

 

#4 2012-06-11 16:18:00

sda
Translation Team
2012-06-11
7

Re: Stripped theme - Thumbnails size

Hi,
I already tried to regenerate the thumbnails with the batch manager but it didn't work.

Offline

 

#5 2012-06-11 16:22:40

flop25
Piwigo Team
2006-07-06
7037

Re: Stripped theme - Thumbnails size

The 2.4 is not there but I have already forgotten <2.4 limitations ^^ : you have to adapt this code
.wrap1 .wrap2 .thumbnail {
    max-height: 128px;
}
.wrap1 .wrap2 .thumbnail, .wrap1 .wrap2 .thumbnail *:hover {
    max-width: 160px;
}

read http://piwigo.org/doc/doku.php?id=user_ … n:css_code for further info


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2012-06-11 17:00:20

sda
Translation Team
2012-06-11
7

Re: Stripped theme - Thumbnails size

Thank you!

Offline

 

#7 2012-06-11 21:45:04

Zaphod
Former Piwigo Team
2006-11-13
441

Re: Stripped theme - Thumbnails size

It would need a total rewrite of the theme to have the thumbnails of the size we want. And it would not be easy.

What I've planned to do is to permit to have larger thumbails (not higher), but it will not be done before several months and it will only work with album thumbnails.
(picture thumbs sizes are calculated to have 5 thumbs with a fixed width).

I can't think of a quick solution that could work with every user choice...

Anyway, you can try gthumb+ as a plugin.
(or try some css rules that will work on case by case)

Last edited by Zaphod (2012-06-11 21:46:06)

Offline

 

#8 2012-06-14 12:53:13

sda
Translation Team
2012-06-11
7

Re: Stripped theme - Thumbnails size

Hello,

I took  flop25 suggestion and changed the size to 300px in the wrap1. wrap2  pieces of code.
I only changed this, nothing else.

I use Piwigo like this:
1- Album as a categorie
2- Sub-album as a sub-categorie
3- Sub-sub albums as albums where I insert pictures

And this is what happened:
- the sub-sub album thumbnails are resized even to bigger than 300px. (but that's no problem for me)
- the album and sub album thumbnails are still small (160x120)

Do you have any idea on how to resize these thumbnails also?

Thanks!

Offline

 

#9 2012-06-14 12:55:17

sda
Translation Team
2012-06-11
7

Re: Stripped theme - Thumbnails size

Forgot to say that gthumb plugin didn't work.

Offline

 

#10 2012-06-14 13:42:02

flop25
Piwigo Team
2006-07-06
7037

Re: Stripped theme - Thumbnails size

sda wrote:

Forgot to say that gthumb plugin didn't work.

that's weird :-/ I've seen gallery with Stripped and gthumb

for album well... that's a bit complex because every rounded square have an heigth/width defined. It's a work with pixel precision. I've tried in 5min... it would take me too much time sry


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 
  •  » Extensions
  •  » Stripped theme - Thumbnails size

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact