TCPDF error: Unsupported image type: php/galerie/image?format=raw&type=img&id=4