zoomhub/zoomhub — pull request #46 by aseemk (2014-10-07 18:40:19+00:00)
Title: Embed improvements

- [x] Use already-known DZI info now instead of re-reading the XML at read-time. (We still read the queued DZI XML though. As an optimization, we could cache that, but we know that's temporary anyway.)

In the process, this gets rid of the superfluous `ready` property on newly created DZIs.

- [x] Re-add query string support to the embed URL API, e.g. `?width=auto&height=400px`.

- [x] General improvements, e.g. robustness, to the embed JS. Modeled off the Zoom.it embed JS.

- [x] Using the embed on the view page for now, to get all of its features.

PTAL @nein09 @iangilman @gasi! Thanks. =)