fimfiction-issues
fimfiction-issues copied to clipboard
Cannot retrieve a direct image URL
I've been trying to create a quick "share" panel (similar to how stories shared with an embed on WattPad look) that features a story, links to the story and author, and the cover art for the story. I'm not making a tool for this (though that would be damn handy), I'm hand crafting it. As such, I'm trying to get the cover image, which happens to be hosted by FiMFiction.net directly with no source link provided.
Every time I try to dig up the source URL, though, I get this nonsense:
https://cdn-img.fimfiction.net/story/27gh-1465629116-144198-full
This is so very NOT a usable image URL in any sense of the concept.
(On a more political/philosophical note: This flat out breaks the Internet and is very, very bad manners! Not to mention is a security nightmare! There could be a malicious script behind that URL and we'd never know until we'd been pwned!)
Please fix whatever script you've got running that breaks proper URL asset sourcing.
The URL is perfectly correct. Any site or service should always use the header info to determine a file type and use the appropriate handling of such. These URLs work on all modern browsers and even in apps like Discord. I'd suggest having a chat with your service provider in regards to adding proper support for images.
Most of the time the images will come out as jpeg files, though if your browser specifically supports it they will be in webp.