Hi,
I’ve tried this code but for some reasons it doesn’t show the img, just a small square with the name of it and it’s not even in the right place.
Any help would be appreciated. Thanks
this is how I wanted to be.
Hi @George230 ,
Have you import the image in file section by admin panel ?
Upload images on the Files page…
You can upload images on the Files page of your Shopify admin. This is useful because you can access these images while editing any of your themes.
Example I have shown below! Try this! and dont forget to upload pic on file section. Go to the setting in admin panel and select files option
How to Get File Image URL in Shopify
For instance, you want to track the image url of a logo that you have uploaded on your website. You should do:
Input
{{ ‘logo.png’ | file_img_url: ‘1024x768’ }}
Output
//cdn.shopify.com/s/files/1/0246/0527/files/logo_1024x768.png?42
Hi @George230 ,
For Product Page you should aadd in to product-template liquid file !