TCPDF error: Unsupported image type: jpg?w=781&ssl=1