TCPDF error: Unsupported image type: jpg?resize=547%2c366