Author Topic: Dynamic Image Hosting  (Read 1237 times)

Hey, so I'm working to update the map on this forum game here and I want to make it so there is a place where I (and other image editors) can simply upload the new map, and it overwrites the image file linked by the url.  This way, retrieving the URL and me having to edit the OP every time the map edits does not have to happen.

Does anyone know of any services that provide this?

Thanks.


the problem with that is that people would have to manually refresh the page for the new image to appear.

the problem with that is that people would have to manually refresh the page for the new image to appear.
That is okay.  But it would be still updated, right?

Could just set up a script on a webpage that refreshes the image url every so often.

Could just set up a script on a webpage that refreshes the image url every so often.
I don't know how this would be done...

Could just set up a script on a webpage that refreshes the image url every so often.
it would still be cached though wouldn't it, unless you passed through a randomized GET parameter or something

e.g.
(page A) loads (url A?270G)
30 seconds later, (page A) loads (url A?4E0W)
30 seconds later, (page A) loads (url A?6L1C)

and so on

it would still be cached though wouldn't it, unless you passed through a randomized GET parameter or something

e.g.
(page A) loads (url A?270G)
30 seconds later, (page A) loads (url A?4E0W)
30 seconds later, (page A) loads (url A?6L1C)

and so on
A randomized GET param wouldn't work with Dropbox hot-linking though, right?

Also, is there a way to use scripts to assemble an image every minute or so using data from a google spreadsheet?  I don't exactly know much, but would some XML voodoo do something of this nature?
« Last Edit: February 17, 2016, 05:53:21 AM by SWAT One »

A randomized GET param wouldn't work with Dropbox hot-linking though, right?
works with everything else, i don't see why it wouldn't

works with everything else, i don't see why it wouldn't
The problem is how to embed a randomizer in bb code

it would still be cached though wouldn't it, unless you passed through a randomized GET parameter or something
Cache-Control: no-cache, no-store, must-revalidate

Also, is there a way to use scripts to assemble an image every minute or so using data from a google spreadsheet?  I don't exactly know much, but would some XML voodoo do something of this nature?

There's a few ways. One is to use JavaScript to format and draw the information onto a canvas, create an image from the canvas, then upload it.
Another way is screenshotting the page (though I believe this requires you to accept a dialog, not sure), then crop and upload.

Wait so what's wrong with using dropbox? All of your image editors can access it and replace that file, then since the file is replaced that URL will load the new file.

For some reason, it won't let me make the file public, and it allows only me to see it.  If I go into the sharing options of either the folder or the file, it only allows to share with individual emails or Dropbox accounts.