Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i18ngallery: limit thumbs in text but show all in show
#1
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.
Reply
#2
(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; }
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
(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.
Reply
#4
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.
Reply




Users browsing this thread: 1 Guest(s)