Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Remote images on CoverFlow

Is it possible to load remote url images into the iphone coverflow?

— asked June 2nd 2010 by Sj Singh
  • coverflow
  • images
  • iphone
  • remote

6 Answers

  • Tried that before, u sure can.

    — answered June 2nd 2010 by Daniel Lim
  • Well I found a way around it. It doesn't work with the images array but If i just set local dummy images and then right after it use setURL to set the remote urls, it works fine.

    — answered June 2nd 2010 by Sj Singh
    1 Comment
    • i didn't uderstand… could you explain?

      — commented November 4th 2010 by Davide Barlassina
  • Would someone mind posting an example of remote image loading in Coverflow? I've tried both putting the URL in the images array as well as loading a temporary image from local and then using setURL and I keep getting

    [ERROR] Couldn't load coverflow image url:

    errors… and I know it got the image from the webserver as the access_log says it's sent. Any help would be appreciated.

    — answered October 1st 2010 by Charles Daniel
  • Hello,

    I have the same issue that you have but I can't make your solutions working.

    It's possible to have your example?

    Mine :

    By the way I not sure how to use the setUrl

    var images = [];
    for (var c=0;c<json[0].results.length;c++)
      images[c] = json[0].results[c].image;
    coverFlowView = Titanium.UI.createCoverFlowView({
      height: 120,
      top: 0
    for (var t=0;t<json[0].results.length;t++)
      coverFlowView.setURL (t,json[0].results[t].image)


    — answered October 20th 2010 by Arnaud Geyskens
  • Stupidly enough, this used to work.
    It still works if you compile with Titanium 1.3. It broke in 1.4
    I have send a ticked in lighthouse, but no response yet :(

    — answered October 20th 2010 by Martijn Pannevis
    1 Comment
    • This is still yet to be resolved, as far as I can tell. Coverflow with remote images has been touted as a feature since 0.8, yet this has been broken in 1.4 for quite some time. This needs to be HIGH priority!

      — commented November 29th 2010 by Rapid Development
  • var remoteImages = myRemoteImagesURLs;
    var coverFlowImages;
    var someWidth = 12345;
    var someheight = 12345;
    for (var i = 0; i < remoteImages.length; i++) {
        coverFlowImages.push({image: remoteImages[i], width: someWidth, height: someheight});
    myCoverFlowView.images = coverFlowImages;
    — answered May 26th 2011 by James Adams
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.