FPDF error: Unsupported image type: jpg?resize=341%2c300&ssl=1