TCPDF error: Unsupported image type: jpg?w=368&h=247