Username Password
Bookmark and Share

Avatar macro

Macro for displaying a users avatar, photo or other image.


       process ( userId, fieldName, alt1, [altImage], [alt2] )

       Returns an XHTML 1.0 strict and WAI compliant image tag including alternate text. Optionally you can provide a url of an image that should be
       displayed if the user has no image in his profile. And an alternate text belonging to that image.


       The id of the user in whose profile the image’s storageId can be found.


       The fieldName in the user profiling system in which the image’s storageId can be found.


       The alternate text describing the image. You can use other macro’s here, as long as they don’t contain quotes. If no alternate text is given
       the macro will look in the profile for firstName, middleName and lastName.


       If there is no image in the users profile, display this image.


       Of course the alternate image has a different alternate text, describing the image. Such as "no image found".

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
LinksNo Support Offered
Statistics Downloads: 884
Views: 3522
Rating: 0
Updated: 10/19/2007
Keywords macros
NavigationBack to the Bazaar
© 2022 Plain Black Corporation | All Rights Reserved