{"action":"created","issue":{"url":"https://api.github.com/repos/chrisben/imgcache.js/issues/97","labels_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/97/comments","events_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/97/events","html_url":"https://github.com/chrisben/imgcache.js/issues/97","id":54708289,"number":97,"title":"Not allowed to load local resource","user":{"login":"mparpaillon","id":1062115,"avatar_url":"https://avatars.githubusercontent.com/u/1062115?v=3","gravatar_id":"","url":"https://api.github.com/users/mparpaillon","html_url":"https://github.com/mparpaillon","followers_url":"https://api.github.com/users/mparpaillon/followers","following_url":"https://api.github.com/users/mparpaillon/following{/other_user}","gists_url":"https://api.github.com/users/mparpaillon/gists{/gist_id}","starred_url":"https://api.github.com/users/mparpaillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mparpaillon/subscriptions","organizations_url":"https://api.github.com/users/mparpaillon/orgs","repos_url":"https://api.github.com/users/mparpaillon/repos","events_url":"https://api.github.com/users/mparpaillon/events{/privacy}","received_events_url":"https://api.github.com/users/mparpaillon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-01-18T20:08:08Z","updated_at":"2015-11-07T20:44:29Z","closed_at":"2015-10-31T16:16:33Z","body":"Hi,\r\n\r\nThe imgcache.js library works fine on my laptop but I can't get it to work on my iPad.\r\nI always get a \"Not allowed to load local resource\" when my img tag tries to get the local cached file...\r\n\r\nI'm using Angular so I tried to disable $sceProvider to see what happens but it still fails.\r\nAnyway, since it works on my laptop, I'm pretty sure the problem doesn't comes from Angular.\r\n\r\nThx by advance"},"comment":{"url":"https://api.github.com/repos/chrisben/imgcache.js/issues/comments/154750467","html_url":"https://github.com/chrisben/imgcache.js/issues/97#issuecomment-154750467","issue_url":"https://api.github.com/repos/chrisben/imgcache.js/issues/97","id":154750467,"user":{"login":"ted-ks","id":3918111,"avatar_url":"https://avatars.githubusercontent.com/u/3918111?v=3","gravatar_id":"","url":"https://api.github.com/users/ted-ks","html_url":"https://github.com/ted-ks","followers_url":"https://api.github.com/users/ted-ks/followers","following_url":"https://api.github.com/users/ted-ks/following{/other_user}","gists_url":"https://api.github.com/users/ted-ks/gists{/gist_id}","starred_url":"https://api.github.com/users/ted-ks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ted-ks/subscriptions","organizations_url":"https://api.github.com/users/ted-ks/orgs","repos_url":"https://api.github.com/users/ted-ks/repos","events_url":"https://api.github.com/users/ted-ks/events{/privacy}","received_events_url":"https://api.github.com/users/ted-ks/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T20:44:29Z","updated_at":"2015-11-07T20:44:29Z","body":"Hi I was trying to use the latest version of ImgCache for My Android Device. But the images are not loading and show icons as not found.\r\nA little debugging found that entry.toInternalURL() is returning a Path like - cdvfile://localhost/persistent/imgcacehe/<...>.\r\nBut this url is failing to load in the app/webview. Searching for errors in logcat says \"Unknown Chromium Error: 0\". \r\n\r\nI tried with entry.toURL() and it works fine and images are loading without any issue. \r\n\r\nIs this issue can be related to any configuration in my Code or a bug ?\r\n\r\nCordova vers - 5.2.0\r\nAndroid SDK - 18 \r\nUsing the master of ImgCache"}}