TCPDF error: Unsupported image type: jpg?resize=1000%2c600