TCPDF error: Unsupported image type: jpg?template=generic