- Code: Select all
<div class="li-col">
<cms:pages masterpage='products.php' folder=k_folder_name skip_custom_fields='1' >
<li><a href="<cms:show k_page_link />" data-toggle="modal" data-target="#prod-modal" class="gffproductlinka"><cms:show k_page_title /></a>
<br>
<div id="imgdiv"></div>
</li>
</cms:pages>
</div>
Hi guys, can someone help me with the code above, this is a part of the code, where pages are listed from a specific folder.
What I'm trying to do here is display an image from that unique post, when I hover the <li>.
The <li>'s are populated with products.php it has a repeated images field, I want to just display one image from those, inside the id="imgdiv".
I've tried bootstrap tooltip and tried appending images with jquery too. But couldn't grab the image from the post.