TCPDF error: Unsupported image type: jpg?resize=644%2c480&ssl=1