TCPDF error: Unsupported image type: jpg?w=316&h=246