Why are my image links being altered in Shopify CLI?

Topic summary

Shopify CLI theme development is changing generated image asset URLs, causing images stored in the theme assets folder not to load. The reported example shows the CDN path segment being altered from “/90/” to “/95/”, even though the Liquid code uses the standard asset_url filter: {{ 'new_slide_01_large.jpg' | asset_url }}.

Key details:

  • The theme was pulled successfully with Shopify CLI.
  • The problem affects images referenced from the assets repository/folder.
  • The issue appears to be a rewritten CDN URL rather than a missing file.
  • asset_url is a Shopify Liquid filter that generates the public URL for a theme asset.

Current status:

  • No fix or confirmed explanation is provided in the discussion.
  • The question remains open, with the user asking whether this URL rewrite is expected behavior or a Shopify CLI-related issue.
Summarized with AI on March 5. AI used: gpt-5.4.

Good afternoon,

I am currently using Shopify CLI to custom one of my theme. I pulled it, no issue but my pictures from my asset repo are not available. The link was rewritten.

Here is an example, what I should have: [my-link-to-cdn]/90/assets/new_slide_01_large.jpg?v=11570081964739538081

What i actually have: [my-link-to-cdn]/95/assets/new_slide_01_large.jpg?v=11570081964739538081

my code:

{{ settings.new_slide_01_alt }}

I have been looking for an answer on the internet but so far no luck. Anyone who can help me or give me a lead?

Thanks