[dev-galleries-update] Updated gallery

- Fixed thumbnails
- Added logging
- Added dictionary sorting
  - Required array of dicts with images and thumbnails to sort by key
  - Django would require a custom template tag to deal with sorting by key value instead of key name (silly)