Hi everyone,
I’m working on a dynamic item page in Wix Studio, where each project has up to four images stored in the CMS. However, some projects have fewer than four images, and when an image field is empty, Wix replaces it with a default placeholder image (a sand dune).
I want to achieve the following:
- If an image exists in the CMS, it should display normally.
- If an image field is empty, the corresponding image box should be completely hidden (not just a placeholder).
- The layout should adjust dynamically so that empty image slots don’t leave blank spaces or gaps.
I’ve tried checking for a “Hidden on Load” option, but I don’t see it in the properties panel. I also looked into conditional rules using the interactions panel but haven’t figured out the right way to do it.
Is there a way to set up a condition where only images with content appear while hiding empty ones? Would using repeaters or a container box be a better approach?
Any suggestions would be greatly appreciated! Thanks in advance.
Product:
wix studio