Just posting this here as it may help someone.
Client reported the standard "no emails on orders" and found that the PDF invoice was failing with TCPDF ERROR: [Image] Unable to get the size of the image:
https://www.xxxx.com/images/virtuemart/shipping/sefl.gifImage and path all correct and it really was a gif (
not the png problem )
found in libraries\vendor\tecnickcom\tcpdf\tcpdf.php ~ line 6823 ( of a 24,500 line file!!! no wonder no one is interested in this pdf shite ) in the function Image()
that the vendor image passed correctly but the ship/payment images failed ..
the error Unable to get the size of the image is btw very generic .. just means something failed in the image processing.
The vendor file was images/stories/virtuemart/vendor/xxxx-Logo.gif
the ship/pay file was
https://www.xxxx.com/images/virtuemart/shipping/sefl.gif i.e. fully qualified url - why this should start to fail I don't know ...it has always been like this in VM afaik - client swears nothing changed on the server
The images are accessible by direct url.
Site is VM3.8 and TCPDF1.08
but removing the host by
/** GJC remove the host */
$uri = JUri::getInstance();
$file = str_replace($uri->getScheme().'://'.$uri->getHost().'/','',$file);
/** GJC remove the host */
and everything started working again