The thumbnail itself would not have a Node ID, unless perhaps it is included as a Related Object.
In general, to learn what attributes (like the Node ID) are available for an object, try adding an item like this to your template:
{$:item|attribute(show)}
You can also use it with $node instead of $:item.
Using attribute(show) you will see a table that displays every attribute assigned to that item. This will allow you to determine how to get the attribute you seek.
Hope this helps,
Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
Yeah thanks, I just want to setup a clickable thumbnail to full view... So I have to create another view mode for the parent object which show only the thumbnail.
It work great now, waiting for my new site this weekend :D
You must be logged in to post messages in this topic!