

Hi Mathieu,
Thanks for your reply. I had read the thread but couldn't get it to work as the snippet is for featured post images not gallery images. As I am lack of php knowledge, I don't know what codes to add in the post.php. If the defalut php code in post.php can be rendered into HTML from
<div class="gallery-icon landscape" data-markup-id="beans_post_gallery_icon[_122]">
<!-- open output: beans_post_gallery_icon[_122] -->
<a href="my-image.jpg"><img src="my-image.jpg"></a>
<!-- close output: beans_post_gallery_icon[_122] -->
</div>
to
<div class="gallery-icon landscape" data-markup-id="beans_post_gallery_icon[_122]">
<!-- open output: beans_post_gallery_icon[_122] -->
<a href="my-image.jpg" data-uk-lightbox="{group:'my-group'}"><img src="my-image.jpg"></a>
<!-- close output: beans_post_gallery_icon[_122] -->
</div>
The problem will be solved.