TCPDF error: Unsupported image type: jpg?resize=327%2c245