resize_image_url function not resizing

SOLVE
Occasional Contributor

We are using the following syntax on our blog homepage:

<img src="{{ resize_image_url("{{ content.post_list_summary_featured_image }}", 100, 100, 0) }}">

 

Which is outputting to <img src="https://cdn2.hubspot.net/hubfs/2592552/Compare-and-Consolidate-3-757x350.png">

 

Is there something obvious we are doing incorrectly here? This syntax looks correct as far as I can tell.

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Solution
Community Manager

@BenDTU 

try this

<img src="{{ resize_image_url(content.post_list_summary_featured_image, 100, 100, 0) }}">
Thanks,

Dennis


We are excited to announce that the Community will be launching a weekly newsletter on November 2, 2020!
Sign up today!

View solution in original post

Reply
0 Upvotes
2 Replies 2
Solution
Community Manager

@BenDTU 

try this

<img src="{{ resize_image_url(content.post_list_summary_featured_image, 100, 100, 0) }}">
Thanks,

Dennis


We are excited to announce that the Community will be launching a weekly newsletter on November 2, 2020!
Sign up today!

View solution in original post

Reply
0 Upvotes
Occasional Contributor

 Thanks Dennis - that's working perfectly now.

Reply
0 Upvotes