TCPDF error: Unsupported image type: php/media/images/image?format=raw&type=img&id=4165