Docs    Facebook    Customizations

Use full size images in Facebook Photo grid feed

The grid uses medium images for speed and full size in the lightbox. How to use full size in the grid itself.

By default, the plugin uses a medium sized image in the photo feed grid layout to help with performance, and then displays the full size image in the popup lightbox. To use the full size image for the actual photos in the grid layout too, you can use the following JavaScript snippet.

Add the following JavaScript to your site. This can be done manually using a custom JavaScript plugin. For further information see our documentation here.

setTimeout(function(){
$('.cff-album-item').each(function(){
$(this).find('img').attr('src', $(this).find('.cff-lightbox-link').attr('href') );
});
}, 500);
support

Couldn’t find your answer in the docs?

Contact Support