I added a custom liquid block image how do I resize the image. I want to make the image larger since it is very small.
Topic summary
A user added a custom liquid block image to their Shopify theme but needs help resizing it because the image appears very small.
The Store Watchers Support Team responded with a solution:
- The
img_tagfilter is deprecated and no longer supported by Shopify - Recommended approach: Use the
image_tagfilter instead - Resizing can be achieved using the
sizesandwidthfilters - Documentation links were provided for both the deprecated
img_tagand the currentimage_tagimplementation
The discussion remains open, awaiting confirmation from the original poster on whether the suggested solution resolves their issue.
Hello @Fumepodss ,
Greetings from the Store Watchers Support Team! Happy to help you today.
img_tag is a deprecated tag which means it is not supported anymore, as mentioned in Shopify doc here https://shopify.dev/api/liquid/filters/img_tag.
As a solution you can use image_tag. You can set width or size using sizes and width filter. Read more here https://shopify.dev/api/liquid/filters/image_tag
Regards,
Store Watchers Support Team
