| Author |
Message |
apostrophe
Joined: 09 Apr 2005 Posts: 3
|
| Posted: Sat Apr 09, 2005 - 12:23 am Post subject: Problem with showing external graphic |
|
|
Hi Everyone
Tonight I started developing my first widget. I want to create a very simple little widget that will display a single webcam image (for now) from the BBC's cam network.
My widget works exactly how I want it to, BUT, it will not display the image linked externally, am I missing something?
img class="devoncam" src="http://212.104.136.164/webcam/images/torquay_harbour.jpg" width="311" height="212"
The class is just for placement (and I've tried linking without the class and still nothing.)
Any help would be very much appreciated.
Thanks!
James |
|
| |
|
| |
Chris
Joined: 27 Jan 2005 Posts: 344 Location: Durham, UK
|
| Posted: Mon Apr 11, 2005 - 2:32 am Post subject: |
|
|
Have a look at the docs regarding the stuff you should put in your info.plist. If you need to do anything with your widget which means it won't just be running in it's own little sandbox (network/system access, access to file outside the widget bundle etc) then you need to specify it. 'Tis a security thing, and presents the user with a choice of whether to run the widget or not. That way, a user will have to physically authorise an `rm -Rf /' style widget  |
|
| |
|
| |
apostrophe
Joined: 09 Apr 2005 Posts: 3
|
| Posted: Mon Apr 11, 2005 - 11:03 am Post subject: |
|
|
Ahhh! I didn't think of checking the security commands for a linked graphic, but allownetworkaccess in the plist fixed the problem. Now I can view my old stomping grounds without the need to launch a browser
Thanks for your help Chris!
James |
|
| |
|
| |