• Eiri@lemmy.ca
    link
    fedilink
    English
    arrow-up
    49
    ·
    4 days ago

    I’m scared. What… What else could it do than serve a png image?

    • lemmydripzdotz456@lemmy.world
      link
      fedilink
      English
      arrow-up
      147
      ·
      4 days ago

      I’m pretty sure that read it wraps the picture in some kind of picture viewer thing. I imagine it’s an effort to keep you on the site or track your activity better.

      • BillBurBaggins@lemmy.world
        link
        fedilink
        English
        arrow-up
        108
        ·
        4 days ago

        And their stupid website prevents you from zooming in on the image. Or they disabled right click on it in an attempt to stop you from saving the image. It really is pathetic

          • neatchee@lemmy.world
            link
            fedilink
            English
            arrow-up
            37
            ·
            3 days ago

            Also F12 to open the developer panel, then check the “network” and “sources” tabs where you can see every single asset that is loaded (may need to refresh after opening the dev panel) and interact with them in a list

          • BillBurBaggins@lemmy.world
            link
            fedilink
            English
            arrow-up
            22
            ·
            3 days ago

            Didn’t know that, but those download protection things also have other tricks like a transparent image placed over the top.

            • Emily (she/her)@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              9
              ·
              3 days ago

              My absolute last resort is to disable breakpoints and watch network traffic for the image or video. I’m pretty sure there are still ways they can detect the developer console is open but it usually does the trick

          • BillBurBaggins@lemmy.world
            link
            fedilink
            English
            arrow-up
            10
            ·
            3 days ago

            It’s a general complaint, not one website.

            For the zoom issue, social media type ones. Not sure if it’s Reddit or Imgur. The frames and text content gets larger but the image stays the same size.

            For the right click hijack, usually photography and stock sites

      • TriflingToad@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        15
        ·
        edit-2
        3 days ago

        Instagram. It’s impossible to save memes losslessly on mobile (least to my pathetic attempts). On desktop you can go into inspect element and yoink the png

        edit: my pathetic attempts are indeed pathetic. Thanks folks -u-

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          There’s an extension for Android Firefox called “Instagram Downloader”.

        • Echo Dot@feddit.uk
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          I’ve never had an Instagram account because their Android app was so terrible that I was never able to sign up. I wasn’t going to get an iPhone just so I could use a single app, and the whole reason I wanted Instagram was so was something to look at while on the bus or the train there’s no point using the desktop version.

      • Kairos@lemmy.today
        link
        fedilink
        English
        arrow-up
        16
        ·
        3 days ago

        Like what Reddit does so its impossible to view the image at anything other than fit to browser window (excluding the banner) or 100%

    • threeonefour@piefed.ca
      link
      fedilink
      English
      arrow-up
      60
      ·
      4 days ago

      This is what you get when you request a ‘.jpg’ url from Reddit. It’s a webpage and not just the image.

      • yoriaiko@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        3 days ago

        best if You try to zoom-in on reddit pic, coz some uploaded fancy detailed map in 16k, and it is auto-shrinked to Your 2k monitor xD

        fcuk reddit, go old.reddit instead, style may be different, notifications may require new settings, but they open images as images, and this one deals with ads much better too, and have few other fancy stuff too.

        • JoJo@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Except for image galleries; those are only available on new Reddit, and have all the same issues

          • yoriaiko@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            Do You mean when single post contains many pics? I can browse them all on old too, there are small text buttons for previous and next, above pic.

            Agree, You cannot make a post with more than single pic on old, text input field have only manual code input, instead panel with icons… It’s like using linux instead mac ;d

          • unexposedhazard@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            9
            ·
            edit-2
            3 days ago

            Just slap these into the “My Filters” section and press apply :)

            reddit.com##zoomable-img:style(top: 0 !important; padding: 0 !important; height: unset !important;)
            reddit.com##post-bottom-bar
            reddit.com##:matches-path(/media) img:others()
            reddit.com##:matches-path(/media) :root:style(background-color: black !important;)
            

            Goes from this:

            To this:

    • brionnawolf@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      47
      ·
      4 days ago

      i’m sorry if your question was rhetorical (but in case anybody is curious) : some sites do some fancy routing and prevent you from loading the raw file, instead it loads an HTML page with all the desired ads, cookies, and other trackers for the site in question. This method also often circumvents your ability to “open the image in a new tab”, or “download the linked file” directly. I’ve seen this most often on sites that serve GIFs (so if your messaging app’s gif search functionality fails you, and you go looking online for something better you, you’re “forced” to share a link to a site that your friend has to visit instead of the gif you were intending to share)

    • Godort@lemmy.ca
      link
      fedilink
      English
      arrow-up
      11
      ·
      4 days ago

      Redirect you internally to the main page so that people have a harder time linking the relevant info and they have to load the whole page with all the ads/paywalls

    • Frezik@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      Literally anything.

      Files extensions are an old DOS thing that’s still in Windows. Unix-derived stuff never really cared, at least not in the same way.

      What actually matters is the MIME type set in the HTTP headers, which is “image/png” for png. Traditionally, the file extension is mapped to a MIME type, because that makes things easy for everyone, but nothing says it has to be that way.

      • flamingos-cant (hopepunk arc)@feddit.ukOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        The HTTP headers can be wrong, the only definitive way to determine a file’s content type is to read it. This is why you can stick an image that has a mime type header of application/octet-stream in an img tag and it’ll mostly work. Most binary formats will have some kind of magic number at the start to help determine it.

        • Frezik@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 days ago

          Which is bad and wrong. Postel’s law has been considered a bad idea by Postel himself for a while. We shouldn’t let such fuzziness go through.

          • flamingos-cant (hopepunk arc)@feddit.ukOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

            Meh, you shouldn’t need a sophisticated understanding of file formats and web server configuration to make a website, so some slack is imo a good thing. Maybe not as much as there is, but reading the head of an image file doesn’t seem that big a deal.

            • Frezik@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 days ago

              The unsophisticated solution is to map the file extension to the MIME type, which is done by default much of the time. If you do anything else, then we need to have a conversation about how.