Hi,
I think I found it a workaround:
$order_detail['image_tag'] = preg_replace(
'/\.*' . preg_quote(__PS_BASE_URI__, '/') . '/',
_PS_ROOT_DIR_ . DIRECTORY_SEPARATOR,
ImageManager::thumbnail($path, $name, 45, 'jpg', false),
1
);
Seems like this section in the function getContent() from the file HTMLTemplateInvoice.php constructs the image src path.
For some reason: _PS_ROOT_DIR_ constant points to /usr/home/<<websitename>>/web.
If I remove that constant then the image src point to the relative path: /img/tmp/... wich it works...
Any hint?
BR,
Ibon