I just started using MIGX and can't figure this one out. I was able to create a slider on my homepage without an issue as it is just a simple list of image with links around them. I now need to be able to add a gallery to a content page that is launched by clicking a single thumbnail. The other images will load into fancybox.
Here is the markup I need to replicate:
<div class="gallery">
<img src="/images/galleryThumb.jpg" alt="View Photo Gallery" />
<a href="images/gallery1.jpg" class="fancy" title="First Photo" rel="gal"><img src="/images/viewGal.png" alt="View Photo Gallery" id="galOpen" /></a>
<a href="images/gallery2.jpg" class="fancy" title="Second Photo" rel="gal"></a>
<a href="images/gallery2.jpg" class="fancy" title="Third Photo" rel="gal"></a>
</div> <!-- gallery -->
galleryThumb will be the first thumbnail in the list of migx images.
#galOpen is a image that overlays the thumbnail that has a graphic saying "click to view photo gallery". This will be what actually launches the gallery.
The rest of them will not actually output an <img> tag because we do not want them to load visually on the page, we just need the link to point to the image src and title so fancybox can open them.
Let me know if I need to help clarify that at all.
Thanks!
Steve