revert to linking images

This commit is contained in:
2017-06-27 18:26:04 +10:00
parent 5c0bbbc805
commit 2559d03a8a

View File

@@ -9,7 +9,11 @@
* - $subject: The message subject * - $subject: The message subject
* - $body: The message body * - $body: The message body
* *
* @see template_preprocess_mimemail_message() src="<?php
// First get your image
$image = drupal_get_path('module', 'booking'). '/images/Final_Logo.png';
print 'data:image/png;base64,' . base64_encode(file_get_contents($image));
?>"
*/ */
?> ?>
@@ -199,11 +203,7 @@ a[x-apple-data-detectors=true] {
<div align="center" class="img-container center fullwidth" style="padding-right: 0px; padding-left: 0px;"> <div align="center" class="img-container center fullwidth" style="padding-right: 0px; padding-left: 0px;">
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px;" align="center"><![endif]--> <!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px;" align="center"><![endif]-->
<div style="line-height:15px;font-size:1px">&nbsp;</div> <img class="center fullwidth" align="center" border="0" src="<?php <div style="line-height:15px;font-size:1px">&nbsp;</div> <img class="center fullwidth" align="center" border="0" src="<?php echo drupal_get_path('module', 'booking'). '/images/Final_Logo.png'; ?>" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: block !important;border: 0;height: auto;float: none;width: 100%;max-width: 700px" width="700">
// First get your image
$image = drupal_get_path('module', 'booking'). '/images/Final_Logo.png';
print 'data:image/png;base64,' . base64_encode(file_get_contents($image));
?>" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: block !important;border: 0;height: auto;float: none;width: 100%;max-width: 700px" width="700">
<div style="line-height:15px;font-size:1px">&nbsp;</div><!--[if mso]></td></tr></table><![endif]--> <div style="line-height:15px;font-size:1px">&nbsp;</div><!--[if mso]></td></tr></table><![endif]-->
</div> </div>