{ "id": "63860", "key": "TIMOB-3228", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-09-04T11:04:07.000+0000", "created": "2011-04-15T03:40:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "look1" ], "versions": [], "issuelinks": [ { "id": "20520", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "37626", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114935", "key": "TIMOB-13986", "fields": { "summary": "iOS: backgroundImage of view from remote URL not loading", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-28T17:18:39.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Trying to use a remote image for a background of a view.

\n

view = Ti.UI.createView({
\nbackGroundImage:'http:url-to-image' });

\n

The image will appear on an Android device but not on the\niPhone.

\n

Can this be looked into?

{html}", "attachment": [], "flagged": false, "summary": "iPhone backGroundImage with remote images", "creator": { "name": "chris", "key": "chris", "displayName": "Chris", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "chris", "key": "chris", "displayName": "Chris", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "217455", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on a Samsung Galaxy S2 and on the iOS simulator using TiSDK 2.2.0v20120904101713, unable to reproduce the issue. Ticket marked as resolved. \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar image = Ti.UI.createImageView({\r\n image: 'http://cdn.memegenerator.net/instances/400x/26207872.jpg'\r\n});\r\n\r\nwin.add(image);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-09-04T11:03:49.000+0000", "updated": "2012-09-04T11:03:49.000+0000" }, { "id": "222241", "author": { "name": "kenthao", "key": "kenthao", "displayName": "kent hao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "why it's marked 'Resolved'? the problem is still there.\r\nIn Junaid's comment, the code slice is using the ImageView, but not the View. Currently, the backgroundImage still can not fetch image with remote URL.", "updateAuthor": { "name": "kenthao", "key": "kenthao", "displayName": "kent hao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-05T14:05:57.000+0000", "updated": "2012-10-05T14:05:57.000+0000" }, { "id": "222245", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "Agreed, the test code does not actually test the bug as reported. I had someone asking about remote background images the other day in IRC, too.", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-05T15:05:02.000+0000", "updated": "2012-10-05T15:05:02.000+0000" }, { "id": "303392", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "BackgroundImage on view is still not working on iOS (3.2.3 GA); it's working on Android\r\n\r\nTestcode:\r\n{code}\r\nvar win = Ti.UI.createWindow({});\r\nvar bg = Ti.UI.createView({\r\n backgroundColor : \"transparent\", backgroundImage : \"http://...../image.jpg\", top : 0, bottom : 0, left : 0, right : 0, width : Ti.UI.FILL, height : Ti.UI.FILL\r\n});\r\nwin.add(bg);\r\n{code}\r\nusing an imageview with image set to the external URL will work.", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-05-03T14:20:54.000+0000", "updated": "2014-05-03T14:20:54.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }