I'm trying to use the inline gallery feature together with the WP [gallery] but it's been driving me mad.
Here's the code:
<a href="#gallery-1" class="fancybox">View pictures</a> <div class="fancybox-hidden"> [gallery columns="2" link="file" ids="1316,1310,1313,1318"] </div>
The problem is: the first thing that appears on the lightbox when the link is clicked are the gallery thumbnails, not the first gallery image as I was expecting.
What could be possibly wrong?
Thanks in advance!