Image or video in the same database spot?

Basically I need to make a database where the pages/content might be a video or an image in a specific section, currently I dont think its possible as it only allows me to set it all as video or picture and I cant use both. Hope this makes sense.

Sidenote, looking for some custom code to make a section disappear if the database entry is empty.

I tried “gallery” as I thought it might allow both video and images, but no use there.

Hi DoJo,

You can use a repeater and some real short code to achieve this. here is how: