Hello Toolset Support,
I am having trouble displaying an image grid in my custom post type. Here's the background:
I have created a custom post type using Toolset, and I have added the option to add images to this post type (with multiple instances).
I would like to display a simple image grid that shows all the images added to the post, ideally with the ability to click on each image and view it in a lightbox.
Here are my questions:
What's the best way to create a view that displays an image grid with the images added to my custom post type?
How can I make each image clickable so that it opens up in a lightbox?
I appreciate any guidance you can provide on this matter.
i'm using divi and toolset views. can i use the blocks also? and do you have any tutorials for this?
How can I display multiple images in a grid using Toolset Blocks without deactivating my Views plugin that I need for the rest of my content? Is there a workaround to achieve this without compromising the functionality of my website?
i prefer to use views instead of blocks. This should be a fairly simple thing to do i think.
You can use [wpv-for-each] to display the multiple instances custom image field, see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-153482
Iterate through multiple items in a post meta field and output the enclosed text for each item. Including Types repeating fields.