{ "id": "120661", "key": "AC-1848", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2013-10-07T01:59:34.000+0000", "created": "2013-10-01T07:38:27.000+0000", "labels": [ "imageView", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:45.000+0000", "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" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "i am trying to load a remote image from my web server. all works well on the iOS 7 simulator and android but when i run the code of the iOS device the image doesn't load at all. i tested the image url on the browser with no problems at all.\r\n\r\ntestcase:\r\n\r\nvar picImage = Ti.UI.createImageView({\r\n width : 100,\r\n height : 100,\r\n borderColor : Constant.borderColor,\r\n borderWidth : 3,\r\n left : 10,\r\n right : 10,\r\n top : 10,\r\n bottom : 10\r\n });\r\npicImage.image ='http://192.168.13.53:8888/home/home_images/brate_facebook_logo.png';", "attachment": [], "flagged": false, "summary": "iOS: ImageView doesn't load remote images", "creator": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "subtasks": [], "reporter": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "environment": "Application type: mobile Titanium SDK: 3.1.3.GA, Platform & version: iOS 6.1 iPod touch Device, Host Operating System: OSX 10.8.4, iOS SDK:7.0", "comment": { "comments": [ { "id": "273963", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello!\r\n\r\nCan you please try your own code with another image? Our test shows that the issue could be that your simulator or device didn't have access to that image. Please test that image from your simulator/device'safari to check if you are reaching the server. \r\n\r\nBest,\r\n\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-07T01:59:34.000+0000", "updated": "2013-10-07T01:59:34.000+0000" }, { "id": "273972", "author": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "body": "i tried the same code with same image but this time i loaded it from my online server (i.e using a domain address); all worked well and the device was able to render the image. but when i use my local ip/server the image doesn't load on device. note that the same test-case works well on the iOS simulator and android device. \ni still need to test loading the image using the online server via a servlet though ", "updateAuthor": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "created": "2013-10-07T04:54:36.000+0000", "updated": "2013-10-07T04:54:36.000+0000" }, { "id": "274037", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello,\ndid you test your image address using safari? \n\nI mean, the one with the 192... \n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-10-07T17:22:13.000+0000", "updated": "2013-10-07T17:22:13.000+0000" }, { "id": "274124", "author": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "body": "yes i did it works well. the image loads normally.\ni also tried to run the same scenario on other network but still have the same problem.", "updateAuthor": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "created": "2013-10-08T04:40:30.000+0000", "updated": "2013-10-08T04:40:30.000+0000" }, { "id": "281379", "author": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "body": "the problem was from GWT jetty server. the images loads normally when i run the servlet from tomcat...\nthanks", "updateAuthor": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "created": "2013-11-26T09:37:44.000+0000", "updated": "2013-11-26T09:37:44.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }