GetSimple Support Forum
i18ngallery: limit thumbs in text but show all in show - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: i18ngallery: limit thumbs in text but show all in show (/showthread.php?tid=5569)



i18ngallery: limit thumbs in text but show all in show - Belletage - 2014-01-29

Hi,

because of the layout, I just want to show four thumbs,
but all in the slide show.
http://mvlcek.bplaced.net/get-simple/i18ngallery
I can limit them by "tags", but ... only they are shown in the slideshow too. I can't see another option?
thanx for tips,
best B.


RE: i18ngallery: limit thumbs in text but show all in show - mvlcek - 2014-01-29

(2014-01-29, 19:51:28)Belletage Wrote: Hi,

because of the layout, I just want to show four thumbs,
but all in the slide show.
http://mvlcek.bplaced.net/get-simple/i18ngallery
I can limit them by "tags", but ... only they are shown in the slideshow too. I can't see another option?
thanx for tips,
best B.

You can add a CSS rule to hide all other thumbs, e.g.
Code:
.gallery .gallery-thumb + .gallery-thumb + .gallery-thumb + .gallery-thumb + .gallery-thumb { display: none; }
(add a more detailed rule to only hit a specific gallery)
or you can switch on paging in the gallery options or in the place holder (% gallery name=mygallery pagify=1 pagesize=4 %) and hide the paging div:
Code:
.gallery .pagify { display: none; }



RE: i18ngallery: limit thumbs in text but show all in show - Belletage - 2014-01-31

(2014-01-29, 22:44:05)mvlcek Wrote:
(2014-01-29, 19:51:28)Belletage Wrote: Hi,

because of the layout, I just want to show four thumbs,
but all in the slide show.
http://mvlcek.bplaced.net/get-simple/i18ngallery
I can limit them by "tags", but ... only they are shown in the slideshow too. I can't see another option?
thanx for tips,
best B.

You can add a CSS rule to hide all other thumbs, e.g.
Code:
.gallery .gallery-thumb + .gallery-thumb + .gallery-thumb + .gallery-thumb + .gallery-thumb { display: none; }
(add a more detailed rule to only hit a specific gallery)
or you can switch on paging in the gallery options or in the place holder (% gallery name=mygallery pagify=1 pagesize=4 %) and hide the paging div:
Code:
.gallery .pagify { display: none; }


hi mvlcek,
thank you for your detailed answer!
I choosed the second technique,
"pagify=1 pagesize=4" + css
because more differential, because I have more galleries on one view and the thumbs have diverse widths.
best, B.


RE: i18ngallery: limit thumbs in text but show all in show - Belletage - 2014-01-31

but - its a workaround.
At the end, you/we have to create another solution, because if you load the side with some slower systems, all the thumbs becomes fade up for a second, before fading out by the css-display-directive.
best, B.