Your software
My Mautic version is: 3.43
My PHP version is: 7.4
My Database type and version is: MariaDB
Your problem
My problem is:
As part of a campaign I’m using Dynamic Content embedded on a Wordpress site. The Dynamic content works fine, but I’m trying to display the logo of the Company associated with the contact who would see the Dynamic Content. The logo would change for different contacts depending on their Company.
I created a custom field of type “URL” and called it “organization-logo”. I then uploaded the logo into the media manager (it is NOT an “Asset”), so it has a real and complete URL that works correctly if I just paste the URL into the browser.
The Dynamic Content in HTML code view looks like this:
<img src="{contactfield=organization_logo}" title="logo" width="239px" height="92px" style="cursor: pointer;">
While everything else in the Dynamic Content renders correctly, the image appears broken when it renders, and when I “inspect” the rendered field using Chrome “Inspect” the src of the img is empty.
I’m guessing this has to do with the token being between two quotation marks but I can’t figure out how to escape those characters.
Any ideas?
Thank you!