# Database content not loading on live but does on preview

**URL:** <https://forum.wixstudio.com/t/database-content-not-loading-on-live-but-does-on-preview/42412>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [May 13, 2022, 2:05pm UTC](https://forum.wixstudio.com/t/database-content-not-loading-on-live-but-does-on-preview/42412 "2022-05-13T14:05:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaggy](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/shaggy/32/7752_2.png) [@shaggy](https://forum.wixstudio.com/u/shaggy)\
**Post date:** [May 13, 2022, 2:05pm UTC](https://forum.wixstudio.com/t/database-content-not-loading-on-live-but-does-on-preview/42412/1 "2022-05-13T14:05:00Z")

</div>

I am trying to display different photos based on the dropdown selection. My OnReady hides all pics then OnChange displays the correct pic based on the dropdown. It all works in preview but when I go live, the image will not load upon dropdown selection. I never had my dataset in sandbox and my permissions are set to site content. Background is only section I have coded so rest will not work.

Thank you!

> **[The NFTFoundery | Build Your Hound | Hedera's 1st "build and create your own...](https://www.nftfoundery.com/build-your-hound)**
>
> The NFTFoundery - Hash Hounds, user designed custom made 1-of-1 NFTs. Hedera's 1st "design and create your own NFT" website.
