TCPDF error: Unsupported image type: jpg?resize=522%2c360