Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2011-06-26 08:50:29

nikond700
Member
Registered: 2011-06-25
Posts: 7

[resolved] usability: lightbox picture size sequence

Hi,

I'm not sure if this is an piwigo issue or more of a theme thing (currently using stripped theme). If I want to see a picture my typical use case is as follows. I'll click onto one of the displayed thumbs, piwigo shows the standard sized picture. Because I allowed HD I can click again and the HD photo gets displayed within a lightbox. My problem is, the picture gets displayed in its full size within the smaller lightbox and therefore you have to scroll up, down, sideways etc. To make the picture fit my browser I have to click onto the magnifiying glass. Is it possible to switch that sequence to -> thumb, standard, resized HD within a non scrollable lightbox, full HD within scrollable lightbox?

Offline

#2 2011-06-27 13:11:52

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 12375
Website

Re: [resolved] usability: lightbox picture size sequence

I fully agree with you. Instead of :

1) thumbnail
2) web size
3) lightbox with 1:1 HD
4) lightbox with "fit to screen" HD

I prefer:

1) thumbnail
2) web size
5) lightbox with "fit to screen" HD
4) lightbox with 1:1 HD

Offline

#3 2011-06-27 20:11:40

nikond700
Member
Registered: 2011-06-25
Posts: 7

Re: [resolved] usability: lightbox picture size sequence

Hi,

besides that it's nice to know that we share something in common, I'd hoped you would have answered my question. ;) Is it possible to change the behaviour through some php or js-scripting in the current version? Or is this planned for future releases?

thx in advance :)

Offline

#4 2011-06-27 20:36:03

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 12375
Website

Re: [resolved] usability: lightbox picture size sequence

Theme Stripped has copied this feature from theme Gally, and in Gally you can configure it the way you want. Currently, Stripped doesn't provide the configuration screen of Gally, so you can't safely change it : the change I propose will be lost on next upgrade of theme Stripped (unless Zaphod implements it).

Open themes/stripped/admin/admin.inc.php, line 33, replace:

Code:

        $config['defaultZoomSize']='full';

by

Code:

        $config['defaultZoomSize']='fit';

Then open screen [Administration > Configuration > Themes > Stripped "Configuration"] and click on the Submit button.

Offline

#5 2011-06-27 22:00:18

nikond700
Member
Registered: 2011-06-25
Posts: 7

Re: [resolved] usability: lightbox picture size sequence

Ah, nice it works like a charm. I'm somewhat happy right now ;). Thx for supporting me in this case.

Offline

#6 2011-06-27 23:26:21

grum
Piwigo Team
Location: Nantes
Registered: 2007-09-10
Posts: 1371
Website

Re: [resolved] usability: lightbox picture size sequence

plg wrote:

I fully agree with you. Instead of :

1) thumbnail
2) web size
3) lightbox with 1:1 HD
4) lightbox with "fit to screen" HD

I prefer:

1) thumbnail
2) web size
5) lightbox with "fit to screen" HD
4) lightbox with 1:1 HD

I'm not sure to understand about the proposed size cycle : why we need thumbnail & web size ?

By default, you have a web size picture, and if you choose to see the HD picture, you just display the HD picture. Displaying the thumbnail in a lightbox have no sense... ?


My pictures with Piwigo, of course !
[ www.grum.fr ] [ photos.grum.fr ]

Offline

#7 2011-06-28 00:07:52

Zaphod
Piwigo Team
Registered: 2006-11-13
Posts: 441

Re: [resolved] usability: lightbox picture size sequence

I think it's more a "click cycle" than a "lightbox cycle".
You click on the thumbnail (on the thumbnail page) to get the the websize (on the picture page)
Then click on the websize to get the fit to screen HD.
Then click on the fit to screen HD to get the 1:1 HD.

Only 3) and 4) are in a lightbox.

Last edited by Zaphod (2011-06-28 00:08:21)

Offline

#8 2011-06-28 00:34:14

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 12375
Website

Re: [resolved] usability: lightbox picture size sequence

Zaphod wrote:

Only 3) and 4) are in a lightbox.

Of course :-)

Offline

Board footer

Powered by FluxBB

twitter facebook google+ newsletter Donate Piwigo.org © 2002-2014 · Contact