Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Fediverse memes
  3. It's janky AF

It's janky AF

Scheduled Pinned Locked Moved Fediverse memes
fedimemes
1 Cross-posts 24 Posts 15 Posters 17 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sarahvalentine@lemmy.blahaj.zoneS sarahvalentine@lemmy.blahaj.zone

    I fuckin hate webp format. Pointless format given the use case coverage between jpg and png.

    O This user is from outside of this forum
    O This user is from outside of this forum
    owoarchist@pawb.social
    wrote last edited by
    #12

    Yep. And most damning, a lot of my image viewing or editing apps don't like the webp format.

    1 Reply Last reply
    4
    • widdershins@lemmy.worldW widdershins@lemmy.world

      Is it the "?format= " at the end of a url that usually turns a quick download of a .jpg or .gif into a .webp or .webm download?

      T This user is from outside of this forum
      T This user is from outside of this forum
      thorry@feddit.org
      wrote last edited by
      #13

      I especially hate it when the source is already the same as whatever the target is, but it still breaks the image. Removing the format parameter suddenly makes the image work again, it's so dumb.

      1 Reply Last reply
      2
      • C cm0002@infosec.pub

        It's a feature of Lemmy where your instance will proxy image links for you, it can be useful in some cases to do things like bypass regional censorships (If you can access your home instance from your country, but not instance lemmy.example.com your home instance can proxy the image from lemmy.example.com so you can still see it (text is handled by federation already, so no proxy required for just text)) or to cache images in case an instance goes down

        But it seems to be poorly implemented where it's end user experience is a pain at best, and the more aggressive it's set the more annoying it is.

        Take for example this instance I'm currently on, infosec.pub, they seem to have it set to aggressively replace all image links including in comments no matter what.

        So now my attempt to reply to this comment https://infosec.pub/comment/20590443 is utterly broken because the image service just doesn't like it despite me just wanting to link to the off-site gif link manually typing the markdown instead.

        This is what that gif looks like proxied:

        https://infosec.pub/api/v3/image_proxy?url=https%3A%2F%2Fi.ibb.co%2F8gHKNsT1%2Fmichael-scott-why.gif

        A This user is from outside of this forum
        A This user is from outside of this forum
        aeronmelon@lemmy.world
        wrote last edited by
        #14

        The proxy link returns a funny error; “too wide.”

        U 1 Reply Last reply
        3
        • C cm0002@infosec.pub

          It's a feature of Lemmy where your instance will proxy image links for you, it can be useful in some cases to do things like bypass regional censorships (If you can access your home instance from your country, but not instance lemmy.example.com your home instance can proxy the image from lemmy.example.com so you can still see it (text is handled by federation already, so no proxy required for just text)) or to cache images in case an instance goes down

          But it seems to be poorly implemented where it's end user experience is a pain at best, and the more aggressive it's set the more annoying it is.

          Take for example this instance I'm currently on, infosec.pub, they seem to have it set to aggressively replace all image links including in comments no matter what.

          So now my attempt to reply to this comment https://infosec.pub/comment/20590443 is utterly broken because the image service just doesn't like it despite me just wanting to link to the off-site gif link manually typing the markdown instead.

          This is what that gif looks like proxied:

          https://infosec.pub/api/v3/image_proxy?url=https%3A%2F%2Fi.ibb.co%2F8gHKNsT1%2Fmichael-scott-why.gif

          S This user is from outside of this forum
          S This user is from outside of this forum
          stellarextract@lemmy.zip
          wrote last edited by
          #15

          A good thing about proxying is that it prevents auto-loading of resources from potentially malicious domains. For instance, I could make an image comment containing an image link to a server I control. When you reply to my comment, since you clearly have seen my comment, I can now look at my server logs and see the IP addresses of everyone who viewed my image. I now know that your IP address is in that list.

          I sortekanin@feddit.dkS 2 Replies Last reply
          19
          • C cm0002@infosec.pub

            Yeah, because the proxy has decided it doesn't like it

            This is what I actually wanted to link to/embed

            https://i.ibb.co/8gHKNsT1/michael-scott-why.gif

            Well actually I originally tried with a direct tenor link

            https://tenor.com/bdBiU.gif

            But it didn't like that either

            I This user is from outside of this forum
            I This user is from outside of this forum
            in_my_honest_opinion@piefed.social
            wrote last edited by
            #16
              "code": "validate-width",
              "msg": "Too wide"
            }```
            
            stripped the headers, your image didn't make it through the infosec.pub proxy. 
            
            

            X-Firefox-Spdy: h2
            access-control-expose-headers: vary, date, content-length, content-encoding, content-type
            cache-control: public, max-age=60
            content-encoding: br
            content-type: application/json
            date: Fri, 27 Feb 2026 02:10:57 GMT
            server: nginx
            vary: accept-encoding, Origin, Access-Control-Request-Method, Access-Control-Request-Headers

            Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
            Accept-Encoding: gzip, deflate, br, zstd
            Accept-Language: en-US,en;q=0.5
            Connection: keep-alive
            DNT: 1
            Host: infosec.pub
            Priority: u=0, i
            Referer: https://piefed.social/
            Sec-Fetch-Dest: document
            Sec-Fetch-Mode: navigate
            Sec-Fetch-Site: cross-site
            Sec-Fetch-User: ?1
            Sec-GPC: 1
            TE: trailers
            Upgrade-Insecure-Requests: 1
            User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0

            1 Reply Last reply
            0
            • S stellarextract@lemmy.zip

              A good thing about proxying is that it prevents auto-loading of resources from potentially malicious domains. For instance, I could make an image comment containing an image link to a server I control. When you reply to my comment, since you clearly have seen my comment, I can now look at my server logs and see the IP addresses of everyone who viewed my image. I now know that your IP address is in that list.

              I This user is from outside of this forum
              I This user is from outside of this forum
              in_my_honest_opinion@piefed.social
              wrote last edited by
              #17

              Exactly this.

              1 Reply Last reply
              1
              • A aeronmelon@lemmy.world

                The proxy link returns a funny error; “too wide.”

                U This user is from outside of this forum
                U This user is from outside of this forum
                usualsuspect191@lemmy.ca
                wrote last edited by
                #18

                It's a gif of OP's mom

                1 Reply Last reply
                2
                • C cm0002@infosec.pub
                  This post did not contain any content.
                  lazynooblet@lazysoci.alL This user is from outside of this forum
                  lazynooblet@lazysoci.alL This user is from outside of this forum
                  lazynooblet@lazysoci.al
                  wrote last edited by
                  #19

                  I like it because it protects my privacy.

                  pict-rs (the proxy software) is using ffmpeg in the background to recompile the image which will crash and burn it the image has even the slightest issue/corruption.

                  Pict-rs has options to specify maximum width etc which need adjusting else it blocks too much

                  C 1 Reply Last reply
                  2
                  • lazynooblet@lazysoci.alL lazynooblet@lazysoci.al

                    I like it because it protects my privacy.

                    pict-rs (the proxy software) is using ffmpeg in the background to recompile the image which will crash and burn it the image has even the slightest issue/corruption.

                    Pict-rs has options to specify maximum width etc which need adjusting else it blocks too much

                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    cm0002@infosec.pub
                    wrote last edited by
                    #20

                    Yea I know there are certainly tangible benefits like privacy, censorship bypass, caching etc

                    But the crux of the issue

                    using ffmpeg in the background to recompile the image which will crash and burn it the image has even the slightest issue/corruption.

                    Does it really need to do all that? IMO it's a proxy and it should just proxy things, not mess with things. Some basic checks at the most to just verify the image is an image and reject non-images, but that's it. If there's a need to also manipulate images then it should be handled separately

                    lazynooblet@lazysoci.alL 1 Reply Last reply
                    1
                    • C cm0002@infosec.pub

                      Yea I know there are certainly tangible benefits like privacy, censorship bypass, caching etc

                      But the crux of the issue

                      using ffmpeg in the background to recompile the image which will crash and burn it the image has even the slightest issue/corruption.

                      Does it really need to do all that? IMO it's a proxy and it should just proxy things, not mess with things. Some basic checks at the most to just verify the image is an image and reject non-images, but that's it. If there's a need to also manipulate images then it should be handled separately

                      lazynooblet@lazysoci.alL This user is from outside of this forum
                      lazynooblet@lazysoci.alL This user is from outside of this forum
                      lazynooblet@lazysoci.al
                      wrote last edited by
                      #21

                      The idea is that by saving the image and thumbnail it saves on processing and bandwidth is the server hosting the proxy.

                      Pict-rs is the same image store used by Lemmy for it's own embedded images.

                      I agree with you that there are improvements to be made. I've spent too long troubleshooting images on lazysoci.al.

                      1 Reply Last reply
                      1
                      • S stellarextract@lemmy.zip

                        A good thing about proxying is that it prevents auto-loading of resources from potentially malicious domains. For instance, I could make an image comment containing an image link to a server I control. When you reply to my comment, since you clearly have seen my comment, I can now look at my server logs and see the IP addresses of everyone who viewed my image. I now know that your IP address is in that list.

                        sortekanin@feddit.dkS This user is from outside of this forum
                        sortekanin@feddit.dkS This user is from outside of this forum
                        sortekanin@feddit.dk
                        wrote last edited by
                        #22

                        I've heard this security concern before, but I'm a bit confused about the real attack vector here. I mean let's say you do this - you post an image to some random Lemmy instance and behind the scenes, you gather all the IPs which fetch the image. What malicious thing could you do with that? Genuinely curious.

                        mrnobody@quokk.auM 1 Reply Last reply
                        2
                        • sortekanin@feddit.dkS sortekanin@feddit.dk

                          I've heard this security concern before, but I'm a bit confused about the real attack vector here. I mean let's say you do this - you post an image to some random Lemmy instance and behind the scenes, you gather all the IPs which fetch the image. What malicious thing could you do with that? Genuinely curious.

                          mrnobody@quokk.auM This user is from outside of this forum
                          mrnobody@quokk.auM This user is from outside of this forum
                          mrnobody@quokk.au
                          wrote last edited by
                          #23

                          Hack their Gibson of course.

                          1 Reply Last reply
                          1
                          • C cm0002@infosec.pub
                            This post did not contain any content.
                            H This user is from outside of this forum
                            H This user is from outside of this forum
                            hirom@beehaw.org
                            wrote last edited by
                            #24

                            Does any client supports proxying images or links? If that's a client settings, users would control whether to use proxy or not, maybe even which proxy to use.

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups