Jen5411892
Posts: 0
Joined: Tue Jan 08, 2013 3:13 pm

photoswipe thumbnails

Hello,
I successfully created a photoswipe gallery. I'd like to know how to alter the html so the thumbnails appear 3 per row instead of just 1 per row. I've tried tabling them, but when I test the photoswipe gallery doesn't load.

Here's the code I pasted:
ul class="gallery"

Code: Select all

 li[url=http://www.photoswipe.com/latest/examples/images/full/001.jpg][img]https://sslproxy.getsatisfaction.com/sslproxy/SWhAdDNLMG5zdGFuVGlWerYmtAC47Kf3t1Hp8hN2QG6tEn_6hO5Ki-MgebnuGvC8HvbBOfbmnAy29ObepVvkVstcUpj8FSeFg55llvr5cmU=.jpg[/img] [/url]/li 

/ul
ul class="gallery"
liImage /li
/ul
ul class="gallery"
liImage /li
/ul
ul class="gallery"
liImage /li
/ul

thank you!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

photoswipe thumbnails

What code did you try?

Jen5411892
Posts: 0
Joined: Tue Jan 08, 2013 3:13 pm

photoswipe thumbnails

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

photoswipe thumbnails

Hi Jennifer,

All the photographs should be in one ul list.

For each tag add li class, for example, "gallery_item".
Add to your app CSS asset with the following code:
code.gallery_item {
display: inline-block;
}/code

Jen5411892
Posts: 0
Joined: Tue Jan 08, 2013 3:13 pm

photoswipe thumbnails

Worked perfect. Thank you!

Return to “Issues”