Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Is there an image load/size max limit in a web view?

I use the following jQuery code to load 684 images into a web view, however only 295-298 of them seem to load in the simulator. I've tested this a few times and it seems to vary, never loading more than 300.

var j = 0;
for (var i = 1; i <= 684; i++)
    $('<img/>', {
        src: 'app://com.company.app1/img_' + i + '.jpg',
        load: function () {

Is this a known limit of the iPhone web view? The images are around 25KB (300 x 300px) so I don't know if it's because of the overall size of the images loaded into the web view or not?

Any help would be appreciated,
Thanks, Stu!

— asked April 7th 2010 by Stuart Moir
  • http
  • limit
  • loading
  • max
  • size
  • webview

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.