Hi @shah
We can have a list of images from the curable content, So that featured image can be selected from the list.
Sample code returning image URLs using Cheerio selector
var resObj = {}, // return object
//set a reference to the document that came back
$ = cheerio.load(responseHtml),
$images = $('img');
if ($images && $images.length) {
resObj.images = [];
for (var i = 0; i < $images.length; i++) {
resObj.images.push($($images[i]).attr('src'));
}
}
Hi @shah We can have a list of images from the curable content, So that featured image can be selected from the list.
Sample code returning image URLs using Cheerio selector