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

Feature request: always prioritize i.redd.it #18

Closed
Tiagoquix opened this issue Jul 28, 2024 · 3 comments
Closed

Feature request: always prioritize i.redd.it #18

Tiagoquix opened this issue Jul 28, 2024 · 3 comments

Comments

@Tiagoquix
Copy link
Contributor

Hi there.

Even with the option Redirect preview images to the original image URL (i.redd.it) if possible enabled, sometimes Reddit opens the image in the "preview.redd.it" link instead of "i.redd.it". Reloading the page makes it redirect to "i.redd.it" normally. I would like to request a feature so when it detects it's in a "preview.redd.it" page it automatically forces a reload, therefore correctly going to "i.redd.it".

Thanks for your attention.

@Tiagoquix
Copy link
Contributor Author

Tiagoquix commented Jul 28, 2024

Also, not sure if this is related, but, what about giving "clear" URLs?

Example:

Instead of

https://i.redd.it/image.jpg?width=VALUE&crop=VALUE&auto=VALUE&s=VALUE

we just go to

https://i.redd.it/image.jpg

Not sure if this would reduce image quality, but I believe it wouldn't. It may even increase image quality, since we're requesting directly, without modifications, from source.

@nopperl
Copy link
Owner

nopperl commented Jul 29, 2024

Hi @Tiagoquix!

Even with the option Redirect preview images to the original image URL (i.redd.it) if possible enabled, sometimes Reddit opens the image in the "preview.redd.it" link instead of "i.redd.it".

Could you send me an example URL where this happens? I have not encountered this behavior yet. I assume it is similar to #14?

Also, not sure if this is related, but, what about giving "clear" URLs?

That's a good idea, I've implemented this in e12a0dd.

@Tiagoquix
Copy link
Contributor Author

Yes, this is same problem as #14. :p I had forgotten I reported this in the past.

Sometimes it happens when clicking the image in the lightbox; instead of going to i.redd.it, it goes to preview.redd.it. Not sure how to reproduce, because this does not happen 100% of the time.

About clear URLs: thanks for implementing it!

I will close this as completed since #14 exists.

nopperl added a commit that referenced this issue Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants