Shopify themes, liquid, logos, and UX
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
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.
<img src="{{ '@@payment-methods.png' | asset_url }}" alt="@@paymentmethods" >
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 ?
Hi,
I did add it as a new asset.
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, thanks for the information. The img its been uploaded but could you please be more specific about where I should add the code please and which one of those 2? I'm beginner level, not even
Hi @George230 ,
For Product Page you should aadd in to product-template liquid file !
User | RANK |
---|---|
116 | |
96 | |
73 | |
72 | |
46 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022