Announcement

  •  » Extensions
  •  » Picture Page, more prev & next Thumbnails

#1 2013-07-21 13:25:43

kyp_
Member
2013-06-17
84

Picture Page, more prev & next Thumbnails

Hey :)

I'm kind of looking for general directions here, about 2 different solutions to:

my Problem:
The picture page should preview more thumbnails

     a. from the same tag category
or
     b. from the default sorting order

I'm using Elegant theme right now, which previews 1 Next- and 1 Prev-Thumbnail. Somehow I would like to increase that.

So if there are any plugins or themes that do something similar or close to that, I'd appreciate any directions :)


What I've found via search could not give me any solutions so far, like:

2012-07-15: Similar images plugin Request
http://piwigo.org/forum/viewtopic.php?id=19944

2010-11-03: Next and Previous Thumbnail Setting in Image-viewing Page
http://piwigo.org/forum/viewtopic.php?id=16605


cheers
kyp


Cheers

Offline

 

#2 2013-07-21 13:45:35

flop25
Piwigo Team
2006-07-06
7037

Re: Picture Page, more prev & next Thumbnails

Hi
there is nothing already done, but that could be done. Any customization can be done


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 2013-07-21 22:14:18

kyp_
Member
2013-06-17
84

Re: Picture Page, more prev & next Thumbnails

How true *g*.
It sounded like a "show similar images"-extension is time extensive and complicated to make.

So instead the simplest workaround I can think of right now, would be to replace the Prev/Next Thumbnails on the picture.tpl with just more Prev/Next Thumbnails to create more of an incentive(appeal) to use the picture page more extensively for browsing.

For example, having 2(rows) x6 thumbnails on the right side in the "imageinfos":
...
{$next.U_IMG}+2
{$next.U_IMG}+1
{$next.U_IMG}
{$previous.U_IMG}
{$previous.U_IMG}+1
{$previous.U_IMG}+2
...

With the CSS part I could work myself through somehow, but the php part is my kryptonite ;)

Could you advice me on what to change in default theme - picture.tpl to achieve my divine prophecy :) ?

Code:

<div id="imageInfos">
{if $DISPLAY_NAV_THUMB}
  <div class="navThumbs">
    {if isset($previous)}
      <a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE|@escape}" rel="prev">
        <span class="thumbHover prevThumbHover"></span>
        <img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE|@escape}">
      </a>
    {/if}
    {if isset($next)}
      <a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE|@escape}" rel="next">
        <span class="thumbHover nextThumbHover"></span>
        <img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE|@escape}">
      </a>
    {/if}
  </div>
{/if}
</div>

greets from austria
cheers
kyp


Cheers

Offline

 
  •  » Extensions
  •  » Picture Page, more prev & next Thumbnails

Board footer

Powered by FluxBB

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