TCPDF error: Unsupported image type: jpg?resize=377%2c235&ssl=1