TCPDF error: Unsupported image type: jpg?w=505&h=336