-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
black rectangle (no image) in some tweets that refer to pages in the discourse.opensourcedesign.net domain #90
Comments
Tweeted 2017-05-15With reference to a post that was made by pdurbin on 2017-05-14, https://twitter.com/opensrcdesign/status/864001489437642752
Tweeted 2017-05-19One of these two is bugged: The earlier of the two: The later of the two: |
https://twitter.com/grahamperrin/status/865947199955456000 seeks advice from Twitter Support. |
I wondered whether the issue is avatar-specific. Test tweet, link to https://discourse.opensourcedesign.net/t/cost-of-design-versus-cost-of-implementation/128/1?u=grahamperrin where simonv3 is the opening poster:
Test tweet, link to https://discourse.opensourcedesign.net/t/cost-of-design-versus-cost-of-implementation/128/7?u=grahamperrin where post 7 in the same topic is also by simonv3:
|
Interesting, a test tweet a few minutes ago with reference to https://discourse.opensourcedesign.net/t/first-impressions-part-two/147/6?u=grahamperrin presented a cropped version of an image that ceased appearing in that post (6) a few hours ago: – https://pbs.twimg.com/card_img/866191835147972608/QW8wKRHg?format=jpg&name=144x144_2 (The original of what's cropped by Twitter can be found in the first edition of the linked post.) |
Some sort of background info: The black image is not hotlinked but stored at twitter, so it is not very easy to find out what twitter drags in. |
Thanks. From https://discourse.opensourcedesign.net/t/-/166
I have a very vague recollection, from the first day(s) of admin, that SVG did not work as expected in at least one context. SVG aside, for a moment … At a glance, without reference to what's specified in the basic requirements area of admin preferences: http://opensourcedesign.net/images/opensourcedesign-logo-text.png strikes me as extraordinarily large:
Try flattening (the alpha is probably unnecessary in this context), greyscale, scale down to a saner size, add to your site assets topic, then change the admin preference to refer to the asset. Also http://opensourcedesign.net/images/opensourcedesign-logo.png is probably larger than will ever be necessary in the context of the site assets topic (512 x 512 pixels, 4.6 kB). Additional background information at https://experts.feverbee.com/t/-/5903 (I began the topic there, not Discourse Meta, with an assumption that someone at FeverBee might have encountered the issue in the past). Quite verbose, tl;dr I found nothing there that might explain the problem with our instance of Discourse. |
https://github.com/discourse/discourse/blob/6a746c931a3d6e3614b3f2c724fa74d7d69bf67c/config/locales/server.en.yml#L973 specifies shapes but not sizes for I'll search Discourse Meta for recommendations (if any) on size. |
From post 9 (2015-09-14) under What is the ideal size of Logo file?:
|
❗ @jdittrich please what's in your admin preferences for these two fields?
Related
Validation💡 Troubleshooting Guide — Twitter Developers refers to: – where we can validate forum URLs such as those in the shortlist above. |
From the Card Validator, for a card with a black rectangle:
|
Do you know where they can be found? In the link you send is a text file, but as far as I am concerned, we can only access the Admin dashboard and there I could not find it. |
There's a filter field, find-as-you-type if I recall correctly. In this screenshot (grabbed from Discourse Meta) someone has filtered for the word sidebar: In your case I guess that you'll find fields of interest by filtering first for opengraph, then for twitter Chat: are you a user of Riot? If not I can join you in IRC, if you like. |
For both parameters, it is this value: http://opensourcedesign.net/images/opensourcedesign-logo.png – which calls up an image which just looks fine to me. |
Thanks. I wonder whether we'll resolve the problem by using a 280 x 150 image for |
Try this 280 x 150 for It's very rough (certainly not the proper typeface) but IMHO good enough for short-term test purposes. Can't look worse than the black rectangle |
I ran a couple of previously bugged URLs through the Validator on mobile. No black rectangle. |
Tuesday morning, reviewing this issue at a desktop computer: definitely some improvement. Please, what changed? Brief observationsRe: the shortlist above https://twitter.com/RebelDevNews/status/860238514126016512 and the two other tweets that refer to the forum home page:
Similarly improved: https://twitter.com/simonv3/status/855409535070195714 with reference to https://discourse.opensourcedesign.net/t/portland-or-usa/100/1, a single-post topic with no image, only the avatar of simonv3 ✅ ❓ Amongst the tweets where there's not yet an improvement:
|
opensourcedesign-logo.png (512 x 512 pixels, 4.6 kB), Twitter Cards twitter:image
At the time of writing, it appears broken at (for example):
|
@grahamperrin the links look fine to me– maybe it was a caching issue? |
Checked at a different computer, on a different network: opensourcedesign-logo.png still appears broken in all three examples. (Hint: click the Twitter Cards tab.) |
Back to https://discourse.opensourcedesign.net/t/twitter-black-rectangle-no-image-in-some-tweets-that-refer-to-pages-in-the-discourse-opensourcedesign-net-domain/166/3?u=grahamperrin – and if the issue can't be addressed by local staff then please call |
I just noticed the black rectangle at https://twitter.com/philipdurbin/status/868795340354400256 and I agree that it would be great to fix this somehow. Is there anything I can do to help? |
@pdurbin thanks, I added your example to the shortlist above. https://discourse.opensourcedesign.net/t/-/166/7?u=grahamperrin seeks advice from |
According to @grahamperrin on discourse no images are previewed in a tweet if it links to discourse; it will just have a black rectangle, like this:
(image taken from @grahamperrin discourse post
Not yet reproducible with any other instance of Discourse (I experimented with tweets for four other instances).
PS.: If that should go to another repo, please move it and leave a note, Org was most fitting for discourse I thought.
The text was updated successfully, but these errors were encountered: