If the tooltip & link are *always* going to be the same for whenever the image is going to be displayed then you can add extra properties to the image:
Go to Settings - Media Types and then 'Generic Properties' you can then add a field for toolTip / link etc.
You would simply access these in the same way, instead of $mediaNode/umbracoFile you would just use $mediaNode/toolTip or $mediaNode/imageLink etc.
So i need to create a xslt file and macro, and then insert the macro arround in my templates? I have created "generic propperties" for image (mediapicker), tooltip (textstring) and link (textstring) on my pages... they have to be unique. Can i use the same aliasname to all of them?
image picker
Im new to umbraco.
When using image picker from scratch it only shows an id when rendered in a template from my propperty.
I wish to use the mediapicker with same structure in several proppertyes on my pages.
What will i have to do to get my images rendered with:
link on my image
tooltip on the link
image
i use the latest version.
Hey Amigo,
The media picker just returns a node ID, so you need to add some xslt to pull out the media item
If the tooltip & link are *always* going to be the same for whenever the image is going to be displayed then you can add extra properties to the image:
Go to Settings - Media Types and then 'Generic Properties' you can then add a field for toolTip / link etc.
You would simply access these in the same way, instead of $mediaNode/umbracoFile you would just use $mediaNode/toolTip or $mediaNode/imageLink etc.
Hope this helps
Rich
Thanks Rich,
So i need to create a xslt file and macro, and then insert the macro arround in my templates?
I have created "generic propperties" for image (mediapicker), tooltip (textstring) and link (textstring) on my pages... they have to be unique.
Can i use the same aliasname to all of them?
ok Rich i got the idea.
Thanks for help ;-)
is working on a reply...