The code is proper and generated url is proper as well, but image is blocked because of CSP (content security policy) which does not include your own domain.
It could work with older cdn urls which all were served from *https://*cdn.shopify.com, but now all assets are served from https://yoursite.com .
Nothing we can do – need to contact Shopify support…
Thats’s the CSP served on order printer HTML documents:
But I suspect it won’t for you, but if you go onto the old Order Printer and right click on open image in a new tab you should be able to get the correct path for your photo’s (the two lots of 4 digits after /files/1/ are probably different for every store.
To be fare the old one won’t stop working until the end of August so you can still use it until then and I suspect any issues like this will be fixed by then. I also suspect this might stop working at some point as well as if they are changing over to //storename/cdn instead of //cdn.shopify.com these links may stop working, but we’ll see.
Yeah, That’s was what got me looking at it this way as I was confinced I just hadn’t got the “new” liquid commands right and it was something I’d done (or wasn’t doing)