Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10637] BlackBerry: Titanium.UI.ImageView does not support remote images

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-22T22:12:31.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsmodule_imageview, qe-closed-3.1.2, qe-testadded
ReporterHayk Zakaryan
AssigneePedro Enrique
Created2012-08-27T06:29:10.000+0000
Updated2014-06-19T12:44:03.000+0000

Description

When trying to create ImageView with image attribute as image:'http://christainnewyork.files.wordpress.com/2011/09/eyes-on-fire.jpg' (just example of remote image). It doesn't actually appear on the screen.

Comments

  1. Harutyn Movsisyan 2012-08-29

    "There is no API for remote image initialization. For now you would need to download and store the image to the device then reference it once saved. This functionality could be placed into a Custom Component then re-used as needed." - Garret
  2. Tatyana Petrenko 2012-08-29

    We will not do a custom implementation in the scope of Beta. Please update the API doc to reflect this limitation.
  3. Russell McMahon 2013-06-18

    We need this functionality as it is commonly used in titanium development. Let's do as Garet recommends and download and save the image using http if the path is a url. Here is the test that should work: var win = Ti.UI.createWindow({ backgroundColor: 'white' }); win.open(); var iv = Ti.UI.createImageView({ image: "http://christainnewyork.files.wordpress.com/2011/09/eyes-on-fire.jpg", height: 200, width: 200, backgroundColor: 'yellow' }); win.add(iv);
  4. Pedro Enrique 2013-07-09

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/124
  5. Federico Casali 2013-08-09

    Verified fixed. Remote image showing correctly. Titanium SDK 3.1.2.v20130808180613 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308071912 CLI 3.1.2-alpha Node 0.10.13 Closing.

JSON Source