Skip to content

Site Icon: add more parameters to make site tile compatible with Windows Phones #1279

@jeherve

Description

@jeherve

The msapplication-TileImage tag added by the Site Icon module doesn't seem to be enough to create a tile on WIndows Phones. Compare the tile at the bottom, center of the phone (created from a site using Jetpack's Site Icon) to the tile at the bottom left (created from this site)

wp_ss_20141107_0001

The site where Windows Phone Tiles work includes other tags:

<meta name="msapplication-TileColor" content="#1e5078">
  <meta name="msapplication-TileImage" content="/images/orion/icons/mstile-144x144.png">
  <meta name="msapplication-config" content="/images/orion/icons/browserconfig.xml">

Following the steps on Windows's official site, it seems that both the color code and the msapplication-TileImage tag are needed. The browserconfig.xml is only there to provide extra image sizes. Here is the content of the file:

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
  <msapplication>
    <tile>
      <square70x70logo src="/images/orion/icons/mstile-70x70.png"/>
      <square150x150logo src="/images/orion/icons/mstile-150x150.png"/>
      <square310x310logo src="/images/orion/icons/mstile-310x310.png"/>
      <wide310x150logo src="/images/orion/icons/mstile-310x150.png"/>
      <TileColor>#1e5078</TileColor>
    </tile>
  </msapplication>
</browserconfig>

Would it be worth trying to sample the Site Icon with Tonesque, and automatically create a color tag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges to an existing feature — removing, adding, or changing parts of it[Feature] Site Icon

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions