Announcement

  •  » Themes
  •  » [Theme] stripped-galleria

#1 2011-11-05 17:07:21

Zaphod
Former Piwigo Team
2006-11-13
441

[Theme] stripped-galleria

[extension by Zaphod] stripped-galleria

stripped-galleria is based on stripped theme and needs stripped 2.x.

It uses the galleria script: http://galleria.aino.se/ and its "classic" theme, both released under the MIT licence.
The thumbnail page is removed, the script is launched when entering an album.
A thumbnail carousel is displayed at the bottom of the page.

Several options are available on the configuration page.

A demo is available here:
http://www.audreyetjulien.fr/test/?them … d-galleria

Offline

 

#2 2011-11-05 17:31:19

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

Re: [Theme] stripped-galleria

FANTASTIC

Offline

 

#3 2011-11-05 17:37:09

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

Thanks.
It needs to be tested on a tactile device like an ipad, as Galleria is supposed to support swipe movements to browse pictures, which can be interresting.

Offline

 

#4 2011-11-05 18:18:15

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

Re: [Theme] stripped-galleria

I've just tested on iPhone, it works fine :-)

Offline

 

#5 2011-11-05 19:18:50

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

I've got a problem making this theme work with the combine_files option...

For now... for this theme to work, you need to set :
$conf['template_combine_files'] = false;
In local/config/config.inc.php
Hope to fix this soon...

I tried many solutions with no success...

Last edited by Zaphod (2011-11-05 19:19:08)

Offline

 

#6 2011-11-05 19:56:56

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

I made a temporary solution by defining:
$conf['template_combine_files'] = false;
In themeconf.inc.php

I don't like this solution but it's working...
I'll try to find a better one later.

Offline

 

#7 2011-11-05 20:53:58

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

This is corrected in version 1.0.2.

Offline

 

#8 2011-11-05 21:05:33

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

Re: [Theme] stripped-galleria

How did you solve this problem?

Offline

 

#9 2011-11-05 21:10:22

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

There were 2 {combine_script ...} in the local_head.tpl

I added "require='jquery'" for the first one.
And loaded the second one in the footer instead of the header.

That does not make a lot of sense to me, but it works...

Offline

 

#10 2011-11-05 21:28:50

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

Re: [Theme] stripped-galleria

Thank you for this description, it may be very useful for other theme creators.

Offline

 

#11 2011-12-08 00:26:49

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

Re: [Theme] stripped-galleria

I am making a deeper review of stripped-galleria. This is a really nice theme (but I think if would be better to have it as plugin just like the recent [extension by P@t] GThumb+. Anyway, this way to display photos is nice.

The issue I have right now is the complete loss of browsing history : displaying a photo is not stored in the piwigo_history table. And I believe  that it does not increase the piwigo_images.hit. This is a rather serious problem if you care about statistics, and "most seen" and so on.

Lightbox had the same issue and it was solved by calling plugins/lightbox/save_history.php in AJAX. Would an equivalent be possible with Galleria?

Offline

 

#12 2011-12-08 01:21:04

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

plg wrote:

I am making a deeper review of stripped-galleria. This is a really nice theme (but I think if would be better to have it as plugin just like the recent [extension by P@t] GThumb+. Anyway, this way to display photos is nice.

Il would be a good thing as a plugin, but :
- I don't know how to do it as a plugin
- it will be a huge work to make it compatible with all the themes

Integrate it into an existing theme was the easy way...

plg wrote:

The issue I have right now is the complete loss of browsing history : displaying a photo is not stored in the piwigo_history table. And I believe  that it does not increase the piwigo_images.hit. This is a rather serious problem if you care about statistics, and "most seen" and so on.

Lightbox had the same issue and it was solved by calling plugins/lightbox/save_history.php in AJAX. Would an equivalent be possible with Galleria?

There's an history plugin for galleria.
But I think it's more a plugin to get the "back / forward" arrows in your browser to work.

Anyway, if it's possible for lightbox, it may possible for galleria...

Offline

 

#13 2012-01-24 00:03:17

otherwayup
Member
2012-01-23
27

Re: [Theme] stripped-galleria

stripped-galleria is a beautiful theme, I love it.

Is there a way of downloading the HD version of photos with this theme?

Would it be easy to add the DOWNLOAD link near the top (like stripped)?

Offline

 

#14 2012-01-28 19:14:11

Zaphod
Former Piwigo Team
2006-11-13
441

Re: [Theme] stripped-galleria

You cannot have a download link as the "galleria page" is the equivalent of the thumbnail page : there is no way to know which photo is displayed.

For the HD picture it may be possible... i'll check this on the galleria script.

Offline

 

#15 2012-01-30 20:13:40

otherwayup
Member
2012-01-23
27

Re: [Theme] stripped-galleria

My apologies if I'm incorrected, but are you thinking of stripped-slide not knowing which picture is being viewed?

I was asking about adding download link (of HD version of image) to stripped-galleria.

Offline

 
  •  » Themes
  •  » [Theme] stripped-galleria

Board footer

Powered by FluxBB

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