-
Notifications
You must be signed in to change notification settings - Fork 16
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
Imgur images are not shown #1271
Comments
The problem is that imgur is rate limiting the servers which have to fetch the embed link. Maybe there needs to be a better cache logic so that this does not happen |
Is there a need to let Mbin cache every image? |
Nevermind, I just checked the given example and for that we just generate the wrong html for some reason... <a href="https://i.imgur.com/nlYT5OX.jpeg" class="embed-link"></a> |
So yeah it is a ratelimiting issue. Curl headers when getting the url (https://i.imgur.com/nlYT5OX.jpeg) from gehirneimer.de:
|
As a workaround, I wrote an Userscript (for e.g. Violentmonkey) which directly embeds the images into the page.
|
Describe the bug
When a post is a link to an imgur.com image, it is neither shown in preview nor in full view.
It is recognized as media but when full view is opened, the loading circle is shown shortly and then the space where the image should be just stays empty.
On which Mbin instance did you find the bug?
fedia.io
kbin.earth
Which Mbin version was running on the instance?
1.7.3
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The image is shown in full size.
Desktop
The text was updated successfully, but these errors were encountered: