TCPDF error: Unsupported image type: jpg?resize=1140%2c641&ssl=1