Image urls via API

It seems that image links provided by the API will not work unless an actual search is run. (See notes below)

I've been playing around with the API of the various booru sites, making a slideshow/search windows gadget. So... this isn't exactly of the utmost importance --- I'm simply curious if I'm missing something or if this would need to be fixed server side.

I've got it fully working with Danbooru
http://picanogfx.co.cc/interactive.php
but this week I've been making it compatible with as many other booru sites as I can. (Gel, Konachan, Safe, etc...)

Also, guess I should note, my gadget only used the thumbnail images. If a person wants to see the full image, they are linked to the appropriate /show/ page.

Notes:
------
I ran a simply query via...
http://behoimi.org/post/index.xml?limit=1&commit=Search&tags=animal_ears

and got back the expected xml response, but... none of the links would work.

'Not Found

The requested URL /data/7c/a0/7ca03cc7163116fa0f82b8ec9217e6a7.jpg was not found on this server.'

So, I decided to try the search normally and compare the image links.

http://behoimi.org/post?tags=animal_ears&searchDefault=Search

So I compared the links... they were exactly the same.

This is most likely due to anti-hotlink protection the site has enabled. Nil will check it when he gets home.

Ah, thanks for the quick response.

As I said, it's not exactly a high priority --- if anything, I'd just like the thumbnail link to work properly. It's just my 'project of the week' thing so I can practice either coding or art.

Awesome, preview_url works great and the rest are still protected.

I'll probably post the latest version of the gadget some time tomorrow or around Monday. The code is still a bit of a mess... but its fully functional. (Probably a few bugs switching between sites, but I'll works those out the next time I feel like experimenting with javascript)

Works on:
3Dbooru
Danbooru
e621
Gelbooru
Konachan
Oreno.Imouto
Safebooru

But for now, I've got Japanese to study for and a convention to attend. :D

Just an update.

Didn't include this site just yet because I ran into another issue --- not sure what's causing it yet. Every other query results in a '502 - Bad Proxy', but I can't duplicate the issue from my browser... So, I'll just work it in to my next update. (Which will have a bit of a buffer of images instead of 1 by 1)

Anybooru Slideshow (Windows Sidebar Gadget)

Site Page: (Which I desperately need to update)
http://picanogfx.co.cc/interactive.php

Direct Download:
http://www.mediafire.com/?c06pi18gai53bl1

Notes:
-Defaults to Danbooru
-Queries 'animal_ears'
-Safe search on by default (program side instead of query side, otherwise it would waste a valuable tag in Danbooru's 2 tag limit for normal members)
-Options are saved as long as you don't remove the gadget. (Each instance of a gadget has its own settings)
-Clicking on the displayed image opens a flyout of the past 5 images; clicking on an image on the flyout opens the /show/ page.
-Shouldn't freeze (I've added in a few try/catches at the most problematic sections) but if it does simply kill the gadget itself and start it back up.
-For anyone weary of running the gadget, feel free to check out the code yourself. Gadgets are simply renamed zip files --- the contents of which are html and javascript.

Anyway, thanks again for the help!