FPDF error: Unsupported image type: jpg?resize=778%2c438