Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 46
Registered: ‎05-03-2011
My Device: 9930, PlayBook
My Carrier: Verizon

Dynamically loading images

I am pulling JSON from a remote server (using jQuery) containing a number of image URLs in it. My application dynamically builds the DOM, adding image tags and setting the src attribute to the URL provided by the JSON data. on OS 6/7 this works without problem. On OS 5, I get a red X.

 

I am including the remote URL in my config.xml with something like:

 

<access uri="http://thumbs.imagesbaseuri.com" subdomains="true" /> 

 

I have also tried: 

 

<access uri="http://www.imagesbaseuri.com" subdomains="true" />  

 

and

 

<access uri="*" subdomains="true" />

 

Is there some extra piece to working with OS 5 that I need?