In order for the PinIt button to select full-size images, they must be loaded and visible on the page. Since this is not the case, he cannot capture them in the mesh gallery. As a workaround, I suggest having custom logic that preloads full-size images before triggering the PinIt button click event. Something like that:
$('a[rel="lightbox"]').each(function(){ image_src = $(this).attr('href'); $('<img/>').attr('src',image_src).appendTo('#imageContainer'); ; }) $('#pinItButton').trigger('click');
Thus, you will preload all the images and place them in the imageContainer block, and then run the click that will open the Grid Gallery to select the image.
Hope this helps.
source share