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