Personalized checkout and custom promotions with Shopify Scripts
I have written a script to call the image URL but the image cannot be shown.
However, the image is not displaying correctly on the webpage. Instead, a broken image icon appears (? in a box). The image URL works when pasted directly into the browser but does not render properly in the tag on the webpage. When I right click the image, it allows me to open image in a new tab and the image can be shown in the new tab!!
Extract of the coding I tried:
>> what's wrong with it? How can I fix it please? thanks!
Have you tried checking if data.imageUrl is a valid url?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025