Add an Icon to your OpenSocial App

appshome.pngAs we proceed towards our OpenSocial release, we've spent a lot of time polishing up the user interface. In a number of places we display your application name along with an icon.

Up to now we've used a small gear. In our next developer release, you'll be able to change your icon. You need to modify the icon attribute of the ModulePrefs tag. You should specify a URL of a 15x15 image; note that while .ico does not work on IE6, so .gif or .png is required. To make things really easy you can just add a reference to your existing favicon file, in the appropriate format.  Here's a snippet of code that shows how to specify the icon:

  <ModulePrefs
         [other attributes]
         icon="http://images.hi5.com/images/favicon.gif"/>

Once you add your icon attribute, use the developer console to 'Refresh' your application.  After that, your icon will appear in many places throughout the hi5 site.




Leave a comment

Recent Entries

  • OpenSocial 0.8 Moved To Live Environment

    We have now finished the migration of the Platform in production to OpenSocial v0.8. We'd like to thank the developers who helped test 0.8 while...

  • Translation Service for OpenSocial Applications on hi5

    Reaching a Wider Audience: Community-based Translations for Applications Hi5 has a large audience in Spanish-speaking markets, Thailand, Romania, Portugal, and many other countries. How much...

  • OpenSocial 0.8 In Beta On hi5

    Following close behind the release of the OpenSocial 0.8 specification two months ago, we have been hard at work implementing it, and are happy to...

  • Statistics API Available on Sandbox

    The Statistics API that we announced two weeks ago is available on sandbox. Please use the endpoints described in the earlier post, prefixed with http://sandbox.hi5.com/rest....

  • hi5 Providing Library For Templates

    The hi5.template library is a browser side, Javascript library which enables you to fuse Javascript data and logic into your HTML. It simplifies writing...

Close