PNG rule
PNG rule
PNG rule
looking at you, Imgur. you've forgotten your place.
...and its namesake
Gur = the in the Caesar cypher?
Man, remember when trying to share a link to an image from a site would give you a super tiny "no hotlinking" gif?
I remember when Google removed the direct image link option. That was the day I said fuck off.
It was also the day ddg became my default
I was just downloading a few images last night. I decided it was easier to download directly from the Google Images result than to actually visit the page they came from, because the websites kept having some JS bullshit that prevented opening the image.
fucking reddit. Opening an image in a new tab to zoom in opens it in their crappy branded image viewer, zooming in makes the image smaller, and zooming out makes the image smaller as well.
Just keep a magnifying glass next to your desk.
*enshittified revenue-grubbing companies and their project managers are getting too cocky
Web developer does what web developer is told
To be fair, they might actually quit over this one.
What, in the entirety of the internet, has ever led you to believe that web developers won't implement whatever user-hostile bullshit their bosses tell them to?
Well Akshually.
Misconfigured MIME types on certain old web servers would display the raw data of any file.
I had an Executive who wanted to watch a Video from some “Motivational Speaker” (scam artist) on her iPad. The Scam Artist (Motivational Speaker) had it wrapped in a Flash Applet and when she contacted them about not being able to watch the video, he started soap boxing about how terrible iPhones and iPads were and that Apple is Doomed.
I checked the website and found that the MP4 file had the MIME type Octet/Stream instead of Video/MPEG4 and I created a dummy xHTML page with the appropriate tags.
The video worked perfectly on her iPad and her husband went on to watch the video, believed the “Motivational Speaker” and was fleeced for thousands of dollars.
Have you ever considered a job as a scam artist? They need people like you! You could be making thousands of dollars from home! First you need to be desperate, then you need to work for free...
flash
applet
xHTML
I wish I'd not heard xHTML in a long time
I've never quite managed to understand what the point of xHTML even was. Damn near all of the time, it was still sent as plain ole HTML
There’s the Christmas spirit.
Literally, I've had this happen on Fandom.com where I try to copy/save an image from a direct link that ends in ".png", but realize it was a fake PNG when I try to upload it. It's so annoying, IDK what the deal with all of these new image types is.
https://getindie.wiki/ -> a plugin that helps avoiding fandom.com as much as possible. Don't give those leeches any visit if you can help it, their behavior towards the people creating their content is atrocious.
Fandom.com is bad. It sucks the fun out of every fandom wiki that it has in its clutches.
Use libredirect, or just manually replace fandom with breezewiki or some of the other helper sites.
Basically since the Wikia rebrand to fandom, they've been owned by venture capital vultures, and have unsurprisingly dropped off. Stupid little nonsense like this doesn't surprise me
Wikia was never great to begin with, with all the useless JavaScript and floating shit all over the page, but its gotten even worse now yeah.
IDK what the deal with all of these new image types is
Well the reason is that all the old image files weren't designed for the modern web (some of them have been around since the 1960s) so these new image formats have been developed that compress more readily, and have additional features.
I don't know the exact details but an example is that a lot of social media sites strip metadata from images because it takes up space, so some of these new formats have more compressed metadata so that's no longer needed.
The issue at hand is not that, it's that even when you use an Uri into an image you get a webpage. Reddit does this, for example.
this person should never visit papua new guinea.
I'm scared. What... What else could it do than serve a png image?
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.
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
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-
Like what Reddit does so its impossible to view the image at anything other than fit to browser window (excluding the banner) or 100%
This is what you get when you request a '.jpg' url from Reddit. It's a webpage and not just the image.
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.
There are a couple lines of ublock blocklist code you can add to fix this for reddit btw. Let me know if you want it.
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)
I’ve gotten back .webp
and .gif
images with .png
extensions.
Thats nothing new. Also common to get files with no extension, so you have to play the guessing game to get windows to open it properly.
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
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.
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.
Reddit moment
fcuk reddit, go old.reddit for that. (aye, I'm promoting reddit, soz Lemmy, but Lemmy have less content so far)
Sorry but developers rarely get to make these decisions.
Yep. Imagine blaming cashiers because something is weird about the store layout.
Or blaming the server because the restaurant seating is uncomfortable.
They literally code the page. So long as they are working on it, they get the final say on what goes in.
True, just like how a cashier also gets the final say in what kinds of products are sold in the store.
/s
Hahaha oh man. No.
I hope you’re not serious
Add Accept: image/*
to your headers.
Don't they go by the Referer
header?
In my little hobby project, I create SVG images of dumb little creatures on the fly based on the URL parameters. So sometimes when I'm bored I just type in URLs into my phones browser and look at images of funky little guys
The URLs go from
https://getfrog.cc/guest/creature/img/01-1-000-000-000-00-00
to
https://getfrog.cc/guest/creature/img/02-5-0J1-0J1-0J1-03-01
with the syntax species>-age>-color1>shiny1>-color2>shiny2>-color3>shiny3>-pattern>-mutation> if anyone wants to play around with it too! Lots of combinations aren't implemented yet tho, haven't been feeling like making assets in a while now haha
There's also a GUI I guess but that's way less fun