I'm having difficulty loading images via Ajax on a site that I've been working on. I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into a pre-defined content div. For some reason though, it seems that big images don't seem to load consistently when using this technique. Usually, they will just show up as broken images, but when I navigate to the url of the image that is 'broken', it displays just fine. Also, occasionally after navigating to the actual url of the image, my browser will cache the image and then it will display just fine when loading it through Ajax. Has anyone else encountered this problem?
neclark2
0
Newbie Poster
Recommended Answers
Jump to PostUsually, they will just show up as broken images, but when I navigate to the url of the image that is 'broken', it displays just fine.
What do you mean by 'broken image'?
All 3 Replies
Luckychap
68
Posting Pro in Training
neclark2
0
Newbie Poster
essential
84
Posting Shark
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.