Studio theme, the CDN image link

Topic summary

A user encountered an issue where a custom section in the Studio theme used image_picker to generate valid CDN image links (/cdn/shop/files/...), but images failed to display on the live site despite correct img src attributes visible in Inspector.

Problem specifics:

  • Valid CDN URLs were generated from shopify://shop_images/... references
  • Images didn’t render on the frontend
  • Question raised about potential issues with shopify://shop_images/... in section presets

Resolution:
The original poster resolved the issue independently using a simple solution involving:

  • Adding an "id" field with "file_name"
  • Creating a label referencing “File name from Settings → Files”

Another community member offered to investigate further by requesting store credentials, but assistance was no longer needed after the self-resolution.

Summarized with AI on October 23. AI used: claude-sonnet-4-5-20250929.

In the Studio theme, my custom section (‘Seasonal banner’) uses image_picker and correctly generates the CDN image link (visible in Inspector), but the image itself doesn’t display on the live site. The img src is valid (points to /cdn/shop/files/...), yet Shopify doesn’t render it. Is there a known issue with shopify://shop_images/... references inside section presets, and how can I make the image display without manually re-uploading it in the theme editor?

1 Like

Hi @olusha

Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.

Thank you! I already solved the problem with a simple : “id”: “file_name”, “label”: “File name from Settings → Files” },…

1 Like