• they/them

33, kuso anime boy who likes video games, definitely not a skunk in real life.

Switch friend Code : [SW-1872-7002-1339]
XBox Live : Tudsworth


masklayer
@masklayer

Ok we Need a way to upload images for inline use in code so people stop hosting parts of their cool html posts on fucking DISCORD though


lupi
@lupi

and NOT the clumsy draft trick

apparently imgur doesn't work either for some folks so i can't even use the image hosting site to host images????


Ackart
@Ackart

I’ve used Imgur in the past for my posts, but I didn’t like it

Staff please :(


masklayer
@masklayer

Until discord makes some change to how direct links to your images work which doesn’t mess up any of their stuff but does mess up any external embeds, which they could totally just do at literally any time

Or until they decide they’re going to delete old files if you’re not a nitro subscriber or something

which they also have no reason not to randomly just do at any time


kadybat
@kadybat

Please do not use Discord as file storage. It is a terrible idea.

I say this as a Discord employee. My opinions aren't my employers but also

Discord is not a file host. It is a chat app. It is not designed to host files for use on other websites. It will fail, without question, more often than not, and you need to use something else.


q3w3e3
@q3w3e3

discord is, to this day, one of the better malware hosting solutions


hecate
@hecate

(which i think is also the google cloud cdn underpinning it? so hilariously, you can blame google for that malware hosting, to some level)

(i think it's really funny that they let their clients host malware with their cdn if they're big enough)


You must log in to comment.

in reply to @masklayer's post:

we can a) use drafts, though I think it wouldn't be hard for the website to have a "upload this file and paste the url into the body text" button or b) you could put an inline base64-encoded image (which makes the post lorge) (not currently supported)

If u want the image to be the body of an element instead of a background, use the context css property, then it's about the same as jusf an inline <img>.

e.g.

<img
title="alt-text"
alt="alt-text"
style="
content:
  url('data:\
  image/\
  png;base64,\
  iVBORw0KG\
  goAAAANSU\
  hEUgAAAAU\
  AAAAFCAYA\
  AACNbyblA\
  AAAHElEQV\
  QI12P4//8\
  /w38GIAXD\
  IBKE0DHxg\
  ljNBAAO9T\
  XL0Y4OHwA\
  AAABJRU5E\
  rkJggg==')
">

(sorry for the narrow formating, I jusf wanted it to fit in the comment, hehe (edit: and then it didn't anyway, hehe))

in reply to @Ackart's post:

in reply to @masklayer's post:

in reply to @q3w3e3's post: