I’m in the process of configuring the email builder to create emails using my own email template layout. Everything seems straightforward however I’m having difficulty adding the ‘slot’ code to the src="" portion of an
<img> tag that contains required in-line styles. The in-line styles are necessary so the template displays properly. I’m trying to do this properly:
<img style="display:block; line-height:0px; font-size:0px; border:0px;" class="img1" src="<?php $view['slots']->output('item-image-1'); ?>" alt="img" width="287" height="180" />
where the image src is the slot code. What is the proper way to do this?