Also try URLs of this form

    file:///C:/foo/bar/picture.png

The issue is that it's a security risk to let Flash .swf files access 
local files. You'd need to explicitly tell the Flash plugin to trust the 
Runway .swf. I'm not sure if it'd work, but try step 4 of
    http://code.google.com/p/simile-widgets/wiki/Runway
but instead of click Browse for Files, paste in this URL
    http://api.simile-widgets.org/runway/1.0/swf/runway.swf

David

John Callahan wrote:
> I'm loading local images into Runway without problems using http://.. 
> instead of pointing directly to the file via path name, C:\....  For 
> example, the following works fine for me.
>
> var records = [
>     {   image: "http://mysite.com/images/belem.gif";,
>         title: "Belem",
>     },
>     {   image: "http://mysite.com/images/fossils.png";,
>         title: "Fossils",
>     },
>
>
> I would suggest to get that working first and then try using local file 
> path names.  I'd be surprised if you can use anything other than http to 
> access the images though.
>
> - John
>
> **************************************************
> John Callahan
> Geospatial Application Developer
> Delaware Geological Survey, University of Delaware
> 227 Academy St, Newark DE 19716-7501
> Tel: (302) 831-3584  Email: [email protected]
> http://www.dgs.udel.edu
> ************************************************** 
>
>
>
> Carter wrote:
>   
>> I have been watching the forum on the data load issue. I am still new
>> at the programming thing but it seems in the Data.js I should be able
>> to enter the image location (local file) to display the image and
>> text. I can view the text but not the image. What am I doing wrong?
>> Could the different sources cause a problem?
>>
>> var records = [
>>     { image: "C:\...images\LandRev.jpeg?
>> mode=fillcrop&maxheight=200&maxwidth=200",
>>         title: "Report on Land Revenue Settlement",
>>         subtitle: "Afghanistan | Land Reform"
>>     },
>>     {   image: "http://www.freebase.com/api/trans/image_thumb/guid/
>> 9202a8c04000641f800000000a1818ab?
>> mode=fillcrop&maxheight=200&maxwidth=200",
>>         title: "intern",
>>         subtitle: "Sandeep Jauhar"
>>     },
>>     {   image: "http://www.freebase.com/api/trans/image_thumb/
>> wikipedia/images/en_id/8855635?
>> mode=fillcrop&maxheight=200&maxwidth=200",
>>         title:  "Interpreter of Maladies",
>>         subtitle: "Jhumpa Lahiri"
>>     },
>>     {   image: "http://www.freebase.com/api/trans/image_thumb/guid/
>> 9202a8c04000641f800000000a181846?
>> mode=fillcrop&maxheight=200&maxwidth=200",
>>         title: "Beautiful Evidence",
>>         subtitle: "Edward Tufte"
>> ...
>>     
>>   
>>     
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to