TCPDF error: Unsupported image type: jpg?resize=769,542&ssl=1