| 1 |
<?php if (!empty($form->settings['image']['url'])) { ?> |
| 2 |
<div class="acym__subscription__form__image"> |
| 3 |
<img src="<?php echo $form->settings['image']['url']; ?>" |
| 4 |
alt="" |
| 5 |
width="<?php echo $form->settings['image']['size']['width']; ?>" |
| 6 |
height="<?php echo $form->settings['image']['size']['height']; ?>"> |
| 7 |
</div> |
| 8 |
<style> |
| 9 |
<?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__image{ |
| 10 |
text-align: center; |
| 11 |
} |
| 12 |
|
| 13 |
<?php echo '#acym_fulldiv_'.$form->form_tag_name.' '; ?>.acym__subscription__form__image img{ |
| 14 |
display: inline-block; |
| 15 |
width: <?php echo $form->settings['image']['size']['width']; ?>px; |
| 16 |
height: <?php echo $form->settings['image']['size']['height']; ?>px; |
| 17 |
margin: 0 1rem; |
| 18 |
} |
| 19 |
</style> |
| 20 |
<?php } ?> |
| 21 |
|