{ "id": "65318", "key": "AC-3010", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-06-10T04:01:34.000+0000", "created": "2011-05-13T14:56:16.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:02.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": [], "description": "My image lives in Resources/iphone/my_image.png.\n\nIf I want to display it correctly in the iPhone simulator, I need:\n\nTi.UI.createImageView({\n image: 'iphone/extrainfo.png',\n ....\n});\n\nwhereas, to display the image correctly on the device, I need:\n\nTi.UI.createImageView({\n image: 'extrainfo.png',\n ....\n});\n\nThis is pretty inconsistent.\n\n\n", "attachment": [], "flagged": false, "summary": "ImageView uses different path in iPhone simulator vs on device", "creator": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iPhone 4.3, Ti Studio SDK 1.7.0, Ti Dev 1.2.2", "comment": { "comments": [ { "id": "133830", "author": { "name": "babelfisch", "key": "babelfisch", "displayName": "Mario", "active": true, "timeZone": "Europe/Berlin" }, "body": "If you write…\n\nTi.UI.createImageView({image: Titanium.Filesystem.resourcesDirectory + 'iphone/extrainfo.png'});\n\n… it works in all ways.", "updateAuthor": { "name": "babelfisch", "key": "babelfisch", "displayName": "Mario", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-05-17T14:36:42.000+0000", "updated": "2011-05-17T14:36:42.000+0000" }, { "id": "133834", "author": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Unfortunately it doesn't work with images in Resources/iphone. I just moved them to a new folder Resources/images and now my extrainfo.png and extrainfo@2x.png work. Weird.", "updateAuthor": { "name": "morinel", "key": "morinel", "displayName": "Jeroen van Vianen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-05-17T14:54:09.000+0000", "updated": "2011-05-17T14:54:09.000+0000" }, { "id": "134417", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Mario, in order for us to progress this issue, edit your ticket to include a proper [Use-case|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases].\n\nPlease read the [Submitting Bug Reports|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports] guide before raising tickets.\n\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-05-28T02:37:37.000+0000", "updated": "2011-05-28T02:37:37.000+0000" }, { "id": "156416", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "See TIMOB-2735", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-10T04:01:34.000+0000", "updated": "2011-06-10T04:01:34.000+0000" }, { "id": "163075", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closed after 30 days of inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-16T16:45:27.000+0000", "updated": "2011-08-16T16:45:27.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }