I’ve created a dedicated meta image gallery called “imgal” with Pods.
Now on the post’s page I want to display all the images that I added to the image gallery meta field.
For this, I don’t want to rely on the “Image Gallery” element, because it lacks customizability - but instead do it with a custom query, adding images/blocks that I can fully customize.
how exactly is your custom field set up? There is no native gallery field in Pods, is there? If it’s just a repeatable image field the easiest way is to use a custom query like this:
Hi André, @aslotta Thank you for posting that and apologies for hijacking Tobi’s thread.
I just tried that, I changed ‘name’ from your ‘post_gallery’ to ‘member_instruments’ which is the name of my multi Image field in Pods. Could you have a look at the attached photos of how I set up my custom field in Pods because it’s not working, it’s showing all the images in the media library and not just the photos uploaded to my custom field? Many thanks! It would be fantastic to get this working!
Hi, Thank you for answering! I added an image element and removed the background image. Btw, this is on a nestable slider that I’m trying to populate through the query. Unfortunately, the slider is still showing all the images in the media library (around 10 images) and not just the two images I have uploaded to the custom image field. Any further ideas what could be wrong?
Thanks, but it’s localhost at the moment so I can’t share it. I just tried to set up the problem on a bricks tryout site, but the query editor(PHP) on the nestable slider is missing on the tryout site.
If you do not have access to any kind of server and if you’re using Local feel free to create an export that you can then provide me with. That’s all I can offer for now.