Wp-calypso: Reader: Discover attribution lines are showing oddly-shaped icons

Created on 29 Feb 2016  ·  2Comments  ·  Source: Automattic/wp-calypso

In the wordpress.com/discover feed, we sometimes display oddly-proportioned attribution avatars/site icons. This appears to happen when Editors have uploaded a custom icon that is not square-shaped. We should be cropping these to a square when we display them.

Screenshots

screen shot 2016-02-29 at 9 16 31 am
( Post )

screen shot 2016-02-29 at 9 16 50 am
( Post )

screen shot 2016-02-29 at 9 16 56 am
( Post )

screen shot 2016-02-29 at 9 17 06 am
( Post )

screen shot 2016-02-29 at 9 17 25 am
( Post )

Reader [Type] Bug

All 2 comments

I can repeat this — testing in recent Discover feed with https://wordpress.com/discover using Mac-n-Chrome.

screen shot 2016-04-28 at 4 45 58 pm

Look next to "Originally posted on" to see the squished avatar image.

Should be fixed now — just gave a run through the Discover feed and couldn't reproduce anymore.

We corrected this in the API, rather than on the front-end in Calypso: Discover now auto-crops icons down to a square when serving them up through the discover_fp_thumbnail_url metadata property. 👍

cc @hakanb

Was this page helpful?
0 / 5 - 0 ratings