[TIMOB-1175] CoverFlowView remote images failing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:45:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | coverflowview, error, ios, iphone |
Reporter | Nick |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:45:49.000+0000 |
Updated | 2013-04-24T17:41:05.000+0000 |
Description
I have a coverflow view in an iPhone app populated with remote images from a flickr YQL query, with the 1.3.2 API's the images fail to load altogether, the following errors are shown in the log:
[ERROR] Couldn't load coverflow image url: http://farm5.static.flickr.com/4071/4660464890_a3b94f286c_m.jpg">http://farm5.static.flickr.com/4071/4660464890_a3b94f286c_m.jpg [ERROR] Couldn't load coverflow image url: http://farm5.static.flickr.com/4008/4659841639_73040c1030_m.jpg">http://farm5.static.flickr.com/4008/4659841639_73040c1030_m.jpg [ERROR] Couldn't load coverflow image url: http://farm2.static.flickr.com/1269/4659840991_b30865090e_m.jpg">http://farm2.static.flickr.com/1269/4659840991_b30865090e_m.jpg [ERROR] Couldn't load coverflow image url: http://farm5.static.flickr.com/4025/4660461598_d7da6ea5a1_m.jpg">http://farm5.static.flickr.com/4025/4660461598_d7da6ea5a1_m.jpg [ERROR] Couldn't load coverflow image url: http://farm5.static.flickr.com/4031/4660460410_eeb6187d60_m.jpg">http://farm5.static.flickr.com/4031/4660460410_eeb6187d60_m.jpg [ERROR] Couldn't load coverflow image url: http://farm5.static.flickr.com/4002/4659835939_337e82ddeb_m.jpg">http://farm5.static.flickr.com/4002/4659835939_337e82ddeb_m.jpg [ERROR] Couldn't load coverflow image url: http://farm5.static.flickr.com/4061/4659835365_d454f887b7_m.jpg">http://farm5.static.flickr.com/4061/4659835365_d454f887b7_m.jpg
The app works fine under 1.3.0 and is published to the app store as such, the relevant code for generating the coverflowview is as follows (Snipped):
Titanium.Yahoo.yql('select * from
flickr.photos.search('+flickrlimit+') where
user_id="'+flickruser+'"',function(e)
{
var data = e.data;
for (var c=0;c<data.photo.length;c++)
{
var photo = data.photo[c];
// form the flickr url
var url = 'http://farm' + photo.farm + '.static.flickr.com/' + photo.server + '/' + photo.id + '_' + photo.secret + '_m.jpg';
images[c] = url;
}
//create coverflow view with images
var view = Titanium.UI.createCoverFlowView({
images:images,
backgroundColor:'#000'
});
There are many known problems with coverflow. This is a duplicate bug of #930, marking it 'invalid' because lighthouse does not have a ticket state for "duplicate."