Hosting Images for my Game SOLVED

Hi,

For my game, I'd like to add some images, but since their file sizes will be large and I'd rather not compress them, I'm trying to host them from imgur. But when I try that, I get this:

Imgur

And this is the code I'm using for it:

<img src=\'https://imgur.com/VKJ44Pq\' />

Am I doing something wrong? I'd like to trim down the game's file size by switching to hosted images.


That's the address of the image's page on imgur, not the image itself.

The code you want is:

<img src="https://i.imgur.com/VKJ44Pq.png" />

When you upload an image, the link you want is the "Direct Link".


That worked like a charm. I didn't realize I needed the direct link.

Thanks for the help.


Log in to post a reply.

Support

Forums