openlayers/ol3 — pull request #2796 by tschaub (2014-10-05 14:52:04+00:00)
Title: Determine image size on load

This makes it so the image size does have to be provided for static image sources. If not provided, the size is determined when the image loads.

If a `ol.source.ImageStatic` is constructed without an `imageSize` option, the source is given the "loading" state and image loading is triggered. When the image loads, the image resolution is calculated, and the source is given the "ready" state.