locked
External bitmap images & scaling RRS feed

  • Question

  • Hi,

    I have to load images from the outside (Urls provided by an API). They do provide for different scaling, but they can not provide something like http://acme/images/scale100/{id}, http://acme/images/scale140/{id}, http://acme/images/scale180/{id} or with a parameter.

    So I have to select the right Url returned from the API call and assign it using JS. I haven't had luck funding a way to select current DPI in Javascript, is it possible?

    Kind regards,

    Sascha


    - Developing at an interactive agency (Syzygy)

    Tuesday, July 24, 2012 6:44 AM

Answers