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

New Contributor
Posts: 6
Registered: ‎03-18-2010
My Device: no
My Carrier: no

Widget: Load image from local



Does widget allow to package the application with images. I want my app (widget) can read data from server through HTTP method and load image from local, then show on the screen, this helps my app load faster. It looks like:


[imageA] Item number 1

[imageB] Item number 2

[imageC] Item number 3

[imageB] Item number 4

[imageA] Item number 5

[imageA] Item number 6


Please help...



Hoai An

Posts: 87
Registered: ‎02-26-2010
My Device: Bold 9000
My Carrier: Rogers

Re: Widget: Load image from local

As far as I know you can.


I simply added a directory to my root called Media. Inside Media/ I have all my images, and I would just link them normally using relative paths with an image tag.


<img src="Media/whatever.jpg">