Rss email - Displaying Featured Image as background image

Regular Contributor

I am trying to create a custom email module that will pull the background image from the latest blog post and display it as a background image.

 

I was able to get the blog post title and "read more" text/links to display in the module, but have not been able to pull the actual featured image url. In Chrome developer tools, the CSS read something like background: url('unknown').

 

What is the correct value/snippet to include in my custom email module so it will pull the url of the featured image associated with the latest blog post? Is this even possible? 

Reply
0 Upvotes
2 Replies 2
Community Manager

Hi @cpburke,

 

Are you looking to just pull in the image, or make the image the background of the email? 

 

The developer docs discuss how to pull in a featured image. I am not familiar with a feature that would enable the image to become the background of the email body.

 

Thank you,
Jenny


Did my post help answer your query? Help the Community by marking it as a solution
Reply
0 Upvotes
Highlighted
Regular Contributor

I just wanted to pull the image into a body or header group, not the entire template. I still haven't been able to get it to work, though.

Reply
0 Upvotes