TCPDF error: Unsupported image type: com/pi/generate?output=img&publicationid=1095