image loading issue IE javascript -
i have requirement need populate image urls java , send screen list.
in screen images not loading properly.
i used img tag , src attribute display images.
i used streaming through servlet since image repository not available outside intranet. our application internet application. created servlet through hit image , streaming it.
in browser specified below in img src tag using java script display slides:
so, ie not displaying of images properly. it's not happening images. happens few images.
i'm sorry sample url. but, cannot share url use. below code:
var pic = new array();//from content web service service. <c:foreach items="${newsitemlist}" var="newsitem" varstatus="row"> pic[${row.count-1}] = '${newsitem.image}'; </c:foreach> (i = 0; < totalitems; i++) { preload[i] = new image(); //pre load images. not impact user experience. preload[i].src = pic[i]; } for(var =0;i<totalitems;i++){ slideimg.src = preload[iindex].src; }
can me.
thanks, kanag.
Comments
Post a Comment