liferay-ui:icon image attribute

thumbnail
onochie ojekwe, modified 12 Years ago. New Member Posts: 17 Join Date: 4/8/11 Recent Posts
Hello,
Can anyone help wit a link or probable list of possible values of liferay-ui image attribute?
thumbnail
Nick Piesco, modified 12 Years ago. New Member Posts: 8 Join Date: 7/9/12 Recent Posts
Too many to list here, but the icons live in /[your-theme-name]/images/common/... just browse through, pick the one you want, and use the filename in the '<liferay-ui:icon>' tag. For example:

<liferay-ui:icon image="edit" />

would give you /[your-theme-name]/images/common/edit.png.

Hope this helps!
thumbnail
onochie ojekwe, modified 12 Years ago. New Member Posts: 17 Join Date: 4/8/11 Recent Posts
Thanks Nick
thumbnail
Fabian Funkel, modified 11 Years ago. New Member Posts: 4 Join Date: 3/7/13 Recent Posts
I'd like to add that you can also use relative paths, like:

<liferay-ui:icon image="../language/en_US" />


Which will display the icon: /[your-theme-name]/images/language/en_US.png

Tested in Liferay 6.1.20 EE.