nitter/src/views
decoy-walrus 4cdb8f78cb Add new endpoint for original resolution images
This change is to work around the issue that chromium based browsers have handling the "name=orig" parameter appended to URLs. This parameter is needed to retrieve the full resolution image from twitter, but causes those browsers to fill in "jpg_name=orig" as the extension on the filename.

This change adds a new endpoint, "/pic/orig/<encoded media>". This new endpoint will internally fetch the URL with ":orig" appended on the end for the full res image. Externally, the endpoint will serve the image without the extra parameter to expose the real extension to the browser.

This new endpoint is used when rendering tweets with attached images. The old endpoint is still in place for all other proxied images, and for any legacy links.

I also updated the "?name=small" parameter to ":small" since that seems to be the new pattern for image sizing.

This should fix issue #458.
2022-02-07 16:21:20 -05:00
..
about.nim Prevent bad staticDir from causing problems 2022-01-09 23:55:17 +01:00
embed.nim unified function call styles 2022-01-14 20:45:02 +02:00
feature.nim Render markdown files with a tool 2022-01-09 23:35:56 +01:00
general.nim Embed CSS tweak 2022-02-05 19:43:13 +02:00
list.nim Rework list api 2021-12-30 08:36:43 +01:00
opensearch.nimf Add more license headers 2021-12-27 02:43:27 +01:00
preferences.nim Disable input autocomplete 2022-01-30 17:19:00 +01:00
profile.nim Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
renderutils.nim Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
rss.nimf Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
search.nim Disable input autocomplete 2022-01-30 17:19:00 +01:00
status.nim Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
timeline.nim Fix hidePinned preference 2022-01-30 16:59:07 +01:00
tweet.nim Add new endpoint for original resolution images 2022-02-07 16:21:20 -05:00