Skip to content

Adaptive tile with image not working #33

@IgorX2

Description

@IgorX2

I have the following XML code for a live tile (at the time of writing this, the image is available online):

<?xml version="1.0"?><tile><visual><binding template="TileSmall"><image src="http://cdn.interestingengineering.com//wp-content/uploads/2016/11/electriccharger-480x341.jpg" alt="Car Companies Join Forces to Build Charging Network Across Europe" placement="background" hint-crop="none" hint-overlay="20"/></binding><binding template="TileMedium"><image src="http://cdn.interestingengineering.com//wp-content/uploads/2016/11/electriccharger-480x341.jpg" alt="Car Companies Join Forces to Build Charging Network Across Europe" placement="background" hint-crop="none" hint-overlay="20"/><text hint-align="left" hint-style="caption" hint-wrap="true">Car Companies Join Forces to Build Charging Network Across Europe</text></binding><binding template="TileWide"><image src="http://cdn.interestingengineering.com//wp-content/uploads/2016/11/electriccharger-480x341.jpg" alt="Car Companies Join Forces to Build Charging Network Across Europe" placement="background" hint-crop="none" hint-overlay="20"/><text hint-align="left" hint-style="caption" hint-wrap="true">Car Companies Join Forces to Build Charging Network Across Europe</text></binding><binding template="TileLarge"><image src="http://cdn.interestingengineering.com//wp-content/uploads/2016/11/electriccharger-480x341.jpg" alt="Car Companies Join Forces to Build Charging Network Across Europe" placement="background" hint-crop="none" hint-overlay="20"/><text hint-style="body" hint-wrap="true">Car Companies Join Forces to Build Charging Network Across Europe</text><text hint-align="left" hint-style="caption" hint-wrap="true">Several motor companies are teaming up to provide more efficient electric vehicle charging stations throughout Europe.

Participating car companies include BMW, Ford Motor Company, Daimler AG, and Volkswagen Group with Audi and Porsche. The groups made a joint announcement earlier this week. The companies hope that this serves as a milestone in “facilitating mass-market battery electric vehicle adoption,” the press release said.

[Image courtesy of Pixabay]

The network of charging stations would initial...</text></binding></visual></tile>

The code was tested with the Notification Visualizer app and displays in a correct fashion. However, when sent to the tile, the tile fails to display. If the XML code is kept the same, and only the image removed, the notification is displayed. I am using a queue on the tile, and only those notifications without an image work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions