/**
 * Give the  Guild Icon.
 * The result is better with a icon smaller than the 's' Ryzom size.
 * @param icon		&lt;<b>string</b>&gt;	Ryzom Id of the icon
 * @param px_size 	&lt;<b>id</b>&gt;	Size (height/width) in pixel
 * @return the tag img of the Guild Icon
 */
function flunker_guild_icon_image($icon, $px_size)
{
    return '<img src="' . flunker_guild_icon_url($icon, 's') . '" style="height:' . $px_size . 'px; width: ' . $px_size . 'px;" alt="' . __('Icon Guild') . '"/>';
}
Exemple #2
0
 /**
  * The picutures size is the 's' Ryzom size.
  * @return the url of the Icon
  */
 public function getUrl()
 {
     return flunker_guild_icon_url($this->id_icon, 's');
 }