Thanks Xavier
I tried this but it is not working.
I changed the Pre-load code to:
if(!empty($item->images[0]->file_path) && $config->get('thumbnail', 1) != 0) {
$img = $imageHelper->getThumbnail($item->images[0]->file_path, array(50, 50), array('forcesize' => true, 'scale' => 'outside'));
if($img->success) {
if(substr($img->url, 0, 3) == '../')
$image = str_replace('../', HIKASHOP_LIVE, $img->url);
else
$image = substr(HIKASHOP_LIVE, 0, strpos(HIKASHOP_LIVE, '/', 9)) . $img->url;
$image = str_replace('https','http',$image);
$cartProduct = '<img src="'.$image.'" alt="" style="float:left;margin-top:3px;margin-bottom:3px;margin-right:6px;"/>';
}
}
It's still generating the email as:
<table class="w600" style="font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;margin:auto;background-color:#ebebeb;" border="0" cellspacing="0" cellpadding="0" width="600" align="center">
<tr style="line-height: 0px;">
<td class="w600" style="line-height:0px" width="600" valign="bottom">
<img class="w600" src="
midwest.testme.co/media/com_hikashop/images/mail/header.png
" border="0" alt="Thanks for your order from MidWest Meats" />
</td>
</tr>