Permanently Deleted

  • GoebbelsDeezNuts [any]
    ·
    2 years ago

    I know a very small bit about development, if I had to guess this might fall under the "works fine on my machine" programmer phenomena.

  • CyberSyndicalist [none/use name]
    ·
    2 years ago

    the url represents the file that you are telling the browser to request from the website. The website interprets that request and returns the appropriate file.

    first link is requesting a file happens to be html that once rendered is incidentally mostly an image. (the webserver's reverse proxy will probably interpret no extension, .htm, .html as the same file)

    eg: https://hexbear.net/ppb

    second link is requesting a file that is an image so the browser treats it as such. (the .jpg extension is a giveaway here but isn't technically required)

    eg: https://hexbear.net/pictrs/image/4lR80uZ1C1.jpg

    • Thomas_Dankara [any,comrade/them]
      hexagon
      ·
      2 years ago

      Right, I understand that. What I don't understand is why direct .jpg links get ignored on my phone and redirected. Especially on imgur I've noticed. If I want to link someone just an image without all the interface and clutter, it tends to work on desktop, and tends to fail on mobile

      • CyberSyndicalist [none/use name]
        ·
        2 years ago

        Your browser includes all sorts of meta data in the request that the webserver can respond to differently. I've seen imgur do this on desktop as well and just assumed they do it on everything due to their incentive to show ads. Unless you are going to give your friends instructions on how to spoof their browser agents then the solution is probably just to not use imgur.

    • Sphere [he/him, they/them]
      ·
      2 years ago

      Running Firefox (as you should be too btw, comrade), and it doesn't redirect for me on mobile either.

  • gremlin [they/them]
    ·
    2 years ago

    idk about this site in particular, but imgur redirects you to their site on mobile to try to force people to install their app and view ads. the redirect being broken is probably just bad programming