Gregory on Nostr: I feel like I need to change the image sizes in #Smithereen. My idea with each size ...
I feel like I need to change the image sizes in #Smithereen. My idea with each size being 2x of the previous one is proving to be ever more of a pain in the ass. Thankfully, since I use imgproxy, it's only a matter of changing some code and the rest would "just work".
Here are the image sizes Telegram and VK use.
Published at
2024-07-21 10:34:51Event JSON
{
"id": "adce9893724306833edbcf9088c6c199d0e0dbf3e79c2dab562fa5e5d6c0163d",
"pubkey": "657b808e53b524d5a0d0d90c290dfaea781d284ded8f590250ca2b9ed0d8cef5",
"created_at": 1721558091,
"kind": 1,
"tags": [
[
"t",
"smithereen"
],
[
"proxy",
"https://mastodon.social/users/grishka/statuses/112824031112611962",
"activitypub"
]
],
"content": "I feel like I need to change the image sizes in #Smithereen. My idea with each size being 2x of the previous one is proving to be ever more of a pain in the ass. Thankfully, since I use imgproxy, it's only a matter of changing some code and the rest would \"just work\".\n\nHere are the image sizes Telegram and VK use.\n\nhttps://files.mastodon.social/media_attachments/files/112/824/023/296/548/891/original/f9e7279e827a150d.png\n\nhttps://files.mastodon.social/media_attachments/files/112/824/028/478/634/044/original/2c1b993cb9a186d4.png",
"sig": "d613b56d4385f6be5db43802dca5df33d4b8e3fb27a19f2a275ad3cb9f65f2cf9af8fe4f1bbcbabaa9c8e090d91355c377ef84a92f1a03cead226e4414552e5d"
}