Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3317] iOS Twitpic images not loading on imagaView

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:01:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-10
ComponentsiOS
Labelsdefect, imageview, ios, release-1.7.0, rplist
ReporterPedro Enrique
AssigneeStephen Tramer
Created2011-04-15T03:42:00.000+0000
Updated2011-04-17T02:01:27.000+0000

Description

There is a http://developer.appcelerator.com/helpdesk/view/75661">Help Desk ticket that has encounter a problem with twitpic images not loading on an imageView. The twitpic url has a redirect to an image url and it does not work on iPhone. On the other hand, images from yfrog, which also contains a redirect url, do work.

var win = Ti.UI.createWindow();
var imageView1 = Ti.UI.createImageView({
    top:0,
    height:150,
    image:'http://yfrog.com/0fh5rvw4j:iphone'
});

var imageView2 = Ti.UI.createImageView({
    top:150,
    bottom:0,
    image:'http://twitpic.com/show/thumb/1e10q'
});


win.add(imageView1);
win.add(imageView2);

Tested on iPhone Simulator 4.2
Titanium SDT 1.6.1 (Mar 9 2011 12:23 r1e15e40a)

Comments

  1. Jeff Haynie 2011-04-15

    (from [090f4a3f2c9288cc2c9973896aa927d8eb0efb9b]) [#3317 state:fixed-in-qa] Perform the exact same magic on internal URL redirects that we do for user-defined URLs. https://github.com/appcelerator/titanium_mobile/commit/090f4a3f2c9288cc2c9973896aa927d8eb0efb9b"> https://github.com/appcelerator/titanium_mobile/commit/090f4a3f2c92...

  2. Natalie Huynh 2011-04-15

    Tested with Titanium SDK version: 1.7.0 (03/15/11 11:42 1f6dbfe) on
    iPad2 4.3
    Simulator 4.1

JSON Source