TCPDF error: Unsupported image type: jpg?resize=1024%2c675&strip=all