TCPDF error: Unsupported image type: jpg?resize=630%2c472