NFT images not displaying on deployed marketplace

Hey everyone,

I’m working on an NFT marketplace using Thirdweb. Everything looks great when I run it locally, but I’m hitting a snag after deploying to Netlify. The NFT images just won’t show up on the live site.

I’m scratching my head here. Any ideas what might be causing this? Even a small hint could help me figure it out.

If you need to see any specific part of my code, just let me know and I’ll share it. I’m keeping an eye on this thread, so I’ll respond quickly.

Thanks in advance for any help! It’s really appreciated.

hey there pixstar54! that’s a tricky issue you’ve got there. have you checked if the image URLs are correct after deployment? sometimes the paths can get messed up when moving from local to live. also, are you using any CORS settings that might be blocking the images on the live site? those are just a couple ideas off the top of my head.

btw, i’m curious - what kind of nfts are you working with on your marketplace? sounds like an interesting project! :slightly_smiling_face: keep us posted on how it goes, yeah?

Have you verified the network configuration in your deployed version? Sometimes, the blockchain network settings don’t automatically translate from local to production environments. Ensure you’re connecting to the correct network (mainnet, testnet, etc.) on your live site. Also, double-check your Thirdweb SDK initialization parameters. They might need adjusting for the production environment.

Another aspect to consider is caching. Netlify’s CDN might be caching older versions of your pages. Try purging the cache or adding cache-busting parameters to your image URLs.

If none of these solve the issue, it might be worth setting up some logging on the live site to track API responses and image loading attempts. This could provide valuable insights into where exactly the process is breaking down.

yo pixstar, i’ve run into similar probs before. check ur .env file - sometimes the api keys n stuff don’t carry over to netlify. also, double-check ur thirdweb sdk setup for the live environment. those little things can trip u up. good luck w/ ur marketplace, sounds dope!