FPDF error: Unsupported image type: jpg?resize=285%2c285&ssl=1