Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've extended the default Umbraco image with a textstring called description.The purpose is to store text which should be displayed within the images alt-tag.
On the back-end it all works, but I can't seem to figure out how to display the propertie on te frond-end.
Any help is welcome.
You should be able to access the property by simply doing something like this:
// Get media node by id:var image = Library.MediaById(1234);// Output description property (if "description" is the alias of the property):@image.description
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted