Question:
Is there a way to make an input field in my CMS that can be EITHER an image file or a video file? Is there a good work-around for this?
Product:
Wix Editor
What are you trying to achieve:
I want the list page of my collection to display a media gallery where each image or video links to the item page. I want to be able to display a video if I have one, but if not I will use an image. But in the CMS I can only put a single image OR a single video. There is not a dropdown for general “media.”
What have you already tried:
If I use a gallery dropdown on the CMS instead so that I can add one image or video file per item it then doesn’t work when I connect it to the gallery on my list page. It only displays an image or video from 1 item at a time, not all the items as a list page should.
Additional information:
Thank you. The only other work around I can come up with would be to make a non-dynamic page as my list page which I manually put in all the images and videos and have them each link to a specific item page. But that sort of defeats the purpose of the CMS.