/** * Give the Guild Icon. * The result is better with a icon smaller than the 's' Ryzom size. * @param icon <<b>string</b>> Ryzom Id of the icon * @param px_size <<b>id</b>> 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') . '"/>'; }
/** * 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'); }