Adding Image - Liquid Code

baking_chambers
New Member
2 0 0

Hi there,

Am using DEBUT theme.

I followed a tutorial to make 'About Page' have same style content blocks as 'home page' - but I have used up all my image blocks.  So now I need to add an image in using code only.

Screenshot 2021-04-15 at 09.06.35.png

I have tried using the code:   i found on an old thread from 2006 

<img src="{{ 'myimage.gif' | asset_url }}" style="height: YYpx; width: XXpx" title="My image" />

and have also tried this one:

<img src="{{ 'image.png' | file_img_url: '2048x2048' }}" />

 

maybe I am adding the image incorrectly... but i do see it when i go to https://cdn.shopify.com/s/files/1/0533/3116/5339/files/Dylan_Outside_The_Baking_Shed_256x256_crop_ce... 

 

the code i tried with the last attempt was:

<img src="{{ 'Dylan_Outside_The_Baking_Shed_256x256_crop_center.jpg' | https://cdn.shopify.com/s/files/1/0533/3116/5339/files/Dylan_Outside_The_Baking_Shed_256x256_crop_ce...: '500,534' }}" />

 

Please help?

 

 

0 Likes
HardikDavra
Shopify Partner
1900 300 817

Please go to assets where you uploaded the image and copy the file name with its extension then paste it in the code.
Let me please update after doing this.

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

For fast Communication: Email: parambabla.soft@gmail.com | Whatsapp
0 Likes
baking_chambers
New Member
2 0 0

Thats is what I did I believe - but I don't know if I have the right code to start with...

 

0 Likes
HardikDavra
Shopify Partner
1900 300 817

I think I need to analyze your code by entering into your store.
Would you mind If I send you collaborate access ?

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

For fast Communication: Email: parambabla.soft@gmail.com | Whatsapp
0 Likes