TCPDF error: Unsupported image type: jpg?imgmax=512