TCPDF error: Unsupported image type: jpg?w=510&h=261