Skip to content
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

Image requests are redirected to lower quality cloudinary images #76

Closed
filfreire opened this issue Feb 6, 2018 · 5 comments
Closed
Assignees
Labels

Comments

@filfreire
Copy link

I'm reporting a trouble encoutered in usage

When I visit socatar to get an image from twitter (https://socatar.com/twitter/filrfreire) or github (https://socatar.com/github/filfreire), I'm directed to the following page:

https://res.cloudinary.com/hah9f7pyw/image/fetch/s--zRkvprgx--/c_thumb,d_fallback.svg,f_auto,g_faces,h_100,w_100/https://twitter.com/filrfreire/profile_image%3Fsize%3Doriginal

And no longer get a higher resolution image with the current URL being socatar.

Screenshot:
image

/cc @terales

@terales
Copy link
Owner

terales commented Feb 6, 2018

Yep, there was default 100×100 image size introduced. I'll add this to documentation.

@filfreire what is your usage pattern? Why do you need an original image?

@terales terales added the bug label Feb 6, 2018
@terales terales self-assigned this Feb 6, 2018
@filfreire
Copy link
Author

@terales I was used to use the links I posted in the issue in the browser and get the original images (in terms of size).

The URL also remained the same, and it didn't change to a cloudinary URL.

I'm sure the way it is now is good for people using the API, my issue is with browser usage.

terales added a commit that referenced this issue Feb 6, 2018
@terales
Copy link
Owner

terales commented Feb 6, 2018

sorry, didn't get your point :(
What should be changed in the project, except the docs, from your point of view?
Maybe, add special original size?

@filfreire
Copy link
Author

filfreire commented Feb 6, 2018

@terales

Maybe, add special original size?

Yes, that would be a helpful feature.

Apologies for not being clear, my point was:

  • by default, I wasn't getting the original image size;
  • the URL, when we finish the request for the image, doesn't remain a simple socatar-domain URL, like https://socatar.com/github/filfreire, instead, it's a redirected URL https://res.cloudinary.com/hah9f7pyw/image/fetch/s--IoQ95kFo--/c_thumb,d_fallback.svg,f_auto,g_faces,h_100,w_100/https://avatars2.githubusercontent.com/u/11976836%3Fv%3D4

terales added a commit that referenced this issue Feb 7, 2018
@terales terales closed this as completed in 6f25dd6 Feb 7, 2018
@terales
Copy link
Owner

terales commented Feb 7, 2018

Thanks! I've documented unclear redirection behaviour and added original size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants