When #2 is true, the image will be forced to a JPG. There is a bug where
transparency is treated as black instead of white, so this results in an
all-black PNG.
As a temporary workaround, resize the PNG so neither dimension is more than
720px; we have a deeper fix that is rolling out in the next few days as
well.
https://twitter.com/opensrcdesign/status/868205626308087808 (2017-05-26) cropped representation of what I originally thought was a square logo. In retrospect it might have been cropped from the square part of a rectangular logo. At the time of writing, it’s inverted.
– for that particular debug URL and more generally, for Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed. I wonder whether access is denied because we have overused the debugging service for URLs in a particular domain, or because I have overused the service from a particular IP address. For a few hours, http://iframely.com/ was unaffected but now (04:56 UK time) there’s 504, gateway time-out.
Ultimately, ideally
The behaviours with @staff -defined images at discourse.opensourcedesign.net should be as good as with the set of admin/staff-defined images at, for example, Mozilla Discourse.
– in that example, a list of tweets, it’s probably normal for one to appear without an image because an adjacent tweet refers to the same topic. The tweet that is listed without an image does present its image when viewed as https://twitter.com/firefox/status/837044463864279048
– both of which present a generic page icon. @discourse that’s just FYI; I don’t suppose that the forthcoming deep fixes are intended to address such cases. (I treat the generic page icon as normal, not peculiar.)
I ran through the shortlist of nineteen tweets. All still bugged but where previously the rectangle was black, now the problem is with the oversized image. The appearance is unprofessional.
It should be easy to work around this by using the suitably sized image that I provided in post 11.
OK, I tried the smaller one from post 11 (it took me a while to find out how I can get to the 11th post without counting and that there you already suspected the larger one to be cropped)
– that began with GIMP rendering opensourcedesign-logo-text-narrow.svg at 90 ppi … flattened, greyscale … canvas widened from 300 to 306 (for 3 left and right (narrower than the space between the square and the letters, but at a glance it ‘feels’ right)).
I half-expect the result in Twitter to be not crisp enough, again; if so, there’ll be one more URL to try. Hopefully the last.