Jump to content

Recommended Posts

Posted

I'm probably being a numpty here (not helped by the fact that I have a cold and therefore my brain feels like a 486 trying to run Windows 8), but I can't seem to figure out how I can set an icon for a custom tile.

 

The icons all seem to be loaded from an /api/... URL - do I need to add my icons to a config file so that they're served up via the API? When I try putting an absolute URI into the HAP crashes as it's expecting a virtual path in that attribute.

Posted
Save the image in the images folder, and use ~/images/image.png. The system then processes that image looks for what colour it is, and does some resizing, which is why it references /api/
Posted
I get a blank image (no ASP.NET error, but just an image file with nothing in) - is there a specific format the images have to be in? The original is the same size as the in-built tiles.
Posted
Does HAP cache these images at all? If so can the cache be cleared? In the course of testing I tried editing an existing image and the changes didn't seem to show up...!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...