Since BukGet doesn't support this yet (but should do soon, this one will only be temporary as the BukGet service will be superior to mine), here's my version: http://199.241.30.86/bukkitImage.php?slug=slug e.g. http://199.241.30.86/bukkitImage.php?slug=worldguard http://199.241.30.86/bukkitImage.php?slug=worldedit http://199.241.30.86/bukkitImage.php?slug=battlekits&rd=1 Database is updated every day or when image URLs are not available. Examples: https://github.com/SteveMcGrath/bukget/issues/77
Ummm, why not serve up the image instead of just the URL? Like this... http://tools.unicornsandcola.com/api/bukkit/image/battlekits swag
If you add &rd=1 (like I did with the images in the post) then the server will do a 301 Moved Permanently direct and also redirect the web browser if any. I don't want to store the actual images, because that would use my bandwidth + disk space, so I just cache the URLs for now. There's also bukkitThumb.php: http://199.241.30.86/bukkitThumb.php?slug=battlekits&rd=1 which gives:
It actually appears to be pretty light: I'm about halfway through my billing period. Also, it might be worth caching the images. It will be somewhat sluggish because although I do cache on my end, I only cache the URL to conserve disk space which means that hmm, it doesn't seem to be caching. I'll look into it Caching now fixed, requests should speed up a bit now
Yep, see here: https://github.com/SteveMcGrath/bukget/issues/77 Also, the original post: This will persist (as you can use it for getting thumbnails) for some time, also some people are reliant on it.
You guys can already play with the new API rev if you want. It's currently in dev, but all the information is in the BukGet thread or on Bukget.org
All changes into Bukget have been promoted to production (including the one that sparked this thread)
http://dev.bukkit.org/server-mods/mcweapons/ lol768 Nevermind, I'm realizing that it's because I didn't upload an image for that project. I would recommend making a different message if you didn't upload one though. EDIT by Moderator: merged posts, please use the edit button instead of double posting.