This is a really simple user control which you can use to display images, you just pass in the image URL and other optional values explained below. Its really simple, and if it has a property value will display the image, but also add an optional hyperlink, class or alt tag.
- PropertyName – This is the image URL, I use this macro most for the upload property by simply passing in the property inline like so [#UploadPropertyName].
- OptionalClass – If you want to add an optional CSS class to the image.
- OptionalURL – If you add a URL into this field, it simple wraps the image with a hyperlink.
- altTag – If left empty it will just add a blank alt=””
I won’t put this on our.umbraco as I don’t think its worthy
But you can download it here.
Hope this helps some of the newbies to Umbraco out when creating simple sites