M2vH / galleriffic

Automatically exported from code.google.com/p/galleriffic
0 stars 0 forks source link

Multiple galleries on Wordpress archive page #221

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I think I'm close to figuring this out and would like some help to get this 
working properly. I am using dynamically generated IDs from Wordpress Post ID 
numbers to create unique Galleriffic galleries. My script is creating 2 
separate galleries but all images are being placed into each image container.

You can see the page here: http://74.208.171.75/clients/aspca/

Here is the galleriffic init code:

galleryId = $('.gallery').attr('id');
var galleryOptions = {
  numThumbs: 99,
  preloadAhead: -1,
  imageContainerSel: '.slideshow',
  syncTransitions: true,
  onTransitionOut: function(callback) {
    $('.slideshow').fadeTo('fast', 0.0, callback);
  },
  onTransitionIn: function() {
    $('.slideshow').fadeTo('fast', 1.0);
  }
}
$('#'+galleryId).each(function() {
  $(this).galleriffic('.thumbs_group', galleryOptions);
});

Any ideas would be appreciated. Thank you.

Original issue reported on code.google.com by d...@katart.com on 27 Jun 2011 at 7:31