TCPDF error: Unsupported image type: jpg?resize=300%2c238