{ "id": "61813", "key": "TIMOB-1181", "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": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:26.000+0000", "created": "2011-04-15T02:46:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:26.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
I'm trying to use Ti.UI.createWebView to display text and images\nin a tab. The text and HTML formatting works fine but the image\nresolves as 404/broken image. Attached is a screenshot of it\nrunning in simulator.
\nIf the image is called using Ti.Ui.createImageView then the\nimage does show but the developer is then dependent on absolute\npositioning as opposed to relative positioning which (relative\npositioning) is ideal.
\nAlso attached is a quick and dirty example project.
(from [307ef5d409352ddf79b1f6ff029de521eec38bdb])\n[#1181 state:resolved] Changed setting of html\nproperty on webview to not munge the document and allow access to\nlocal resources by setting the base url to\nfile:///android_asset/Resources/ if a document is loaded with any\nexternal baseurl Android prevents access to local assets \nhttp://github.com/appcelerator/titanium_mobile/commit/307ef5d409352...