Dynamic Content Bug?

Hello,

I am trying to add a dynamic woocommerce product image within x pro classic callout.

This code should work and doesn’t.
<img src="{{dc:post:featured_image post=268}}">

When I remove the trailing > the image shows.

<img src="{{dc:post:featured_image post=268}}"

You can see it in the attachment.

This seems like a bug to me.

Micah

Hello Micah,

Thanks for writing in!

Please update your code and use this:
<img src="{{dc:post:featured_image post=268}}" />

Kindly let us know how it goes.

adding the / to the trailing > did not make a difference.

Micah

Hey Micah,

Sorry for the confusion. I confirm this is a bug so I’ll post this in our issue tracker so it will be queued for fixing. For now, please replicate the Classic Callout element with V2 elements. The HTML with the Dynamic Content works in a Text element.

Omitting the closing tag is not a good work around as it can break other HTML below the image.

Thanks.

Hi Christian.

We’ve already come up with a different approach to our clients page so we’re good to go for now.

Thanks for tracking that down in your bug tracking system.

Micah

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.