I need to use Wix code to have this image element link to the URL of the post it represents. But the Field Key of the item is listed as “link-Post-title” and the code does not seem to recognize that key as valid code.
$item(“#portfolioImg4”).src = item1.img; //this line works.
$item(“#portfolioImg1”).link = item1.link-Posts-title; //this line does not work