zedeus / nitter

Alternative Twitter front-end
https://nitter.net
GNU Affero General Public License v3.0
10.12k stars 534 forks source link

all pic.jpg_name=orig - fix it please #458

Closed MiTereKun closed 3 years ago

MiTereKun commented 3 years ago

yeah, the site wants to save the pictures not in jpg, but in .jpg_name=orig and every time to delete this crap - it's just annoying. Yes, without this prefix, not the original image opens, but after all, you need to change not even the %addition in the file name%, but to standardize the file format. If you can make a window for uploading files to the site in certain formats, then you can probably do the same for the pictures that the user wants to download.

acarasimon96 commented 3 years ago

Good catch! This is definitely annoying, and it's something that can be fixed rather quickly. Unfortunately the project has pretty much stalled, so it will take a while before this gets fixed. I would love to work on a PR that fixes this, but right now I'm busy with school.

zedeus commented 3 years ago

Not gonna get "fixed" as it's intentional to serve the full resolution.

acarasimon96 commented 3 years ago

I don't think the submitter meant by being able to change the resolution of the media, and I do like the fact Nitter always serves media in their full resolution. Instead, they were saying that any media they save into their device is being saved as a file with an unrecognized file extension. So, for example, images in JPG format would be saved with a .jpg_name=orig extension instead of just .jpg.

I'm assuming they're using Windows with file extensions hidden in File Explorer, but nevertheless, it's inconvenient (and tedious if they have a lot to save on their devices) for the user to manually change file extensions in the Save As dialog or in their favorite file manager.

zedeus commented 3 years ago

I know, but the only solution I'm aware of is removing the resolution query. This is a browser issue, not related to nitter.

MiTereKun commented 3 years ago

browser Pale Moon saves in normal resolution pic.jpg_name=orig.jpg. But the browsers based on the chromium do not know how, including mobile opera one of the sites on which I constantly unload pictures does not understand files 36638325

From solution options - create a JS script that users will need to be downloaded separately, Make a link in about.... And so it would be nice to create a script that over all browsers changes the references to Nitter.net (or the user analog) and Piped

zedeus commented 2 years ago

Fixed