Gallery API

This new Gallery API is a pretty cool guy. It lets us query images based on width and height and it doesn't afraid of anything.

A lot of things now might require/enjoy having all the images referenced in the DB to actually exist on the filesystem and be images that PIL/Pillow know how to handle. To that end, I added a script that downloads them and sticks them in the right place. It took about 30 minutes to run for me.

If your DB is slightly old, this might get some 404s, which I just replaced with copies of blank.png from our static files.

r?