Mobile Skinning

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
3/21/2012 8:09:07 AM
Gravatar
Total Posts 9

Mobile Skinning

I am trying to add a simple header image to the mobile skin and for the life of me I cannot figure it out. I have tried added an additional div tag above the divtabs section, an asp image that runs at the server and just a straight image and nothing renders. I get the image missing icon on my phone. It is stored in the root of the mobile skin and I have tried both ~/imagename.gif and imagename.gif. Can anyone shed any light as to what I need to do? THanks.

3/21/2012 8:14:38 AM
Gravatar
Total Posts 18439

Re: Mobile Skinning

Hi,

~/ means the root of the site so if you are storing it in the skin folder you would need to use the full path to that folder like ~/Data/Sites/1/skins/[skinname]/imagename.gif" 

However, we also have a convenience control that you can use instead of <asp:Image

You can use:

<portal:SkinFolderImage id="si1" runat="server" ImageFileName="imagename.gif" />

and it will work if imagename.gif is in the skin folder, it will resolve the path to the skin folder for you.

Hope that helps,

Joe

3/21/2012 8:16:42 AM
Gravatar
Total Posts 9

Re: Mobile Skinning

worked perfect thanks again. 

You must sign in to post in the forums. This thread is closed to new posts.