TCPDF error: Unsupported image type: jpg?resize=500%2c350