Help me reference the item title URL

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 =; //this line does not work

1 Like


@yisrael-wix ?

I’m having the same issue. were you able to figure out a way?