On Jan 11, 2008 7:12 PM, Ben Brehmer <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I just wanted to throw this out there as it might be useful to others;
> We'd been having some problems with pink tiles, even with
> IMAGE_RELOAD_ATTEMPTS set to a large number (10). The tile reload would
> max out and the tile still wouldn't load properly in IE6 & 7. But adding
> a dynamic dummy parameter to the problem images' URL seems to have
> solved the problem.
>
> In the Util.js::onImageLoadError() function we simply modify the src of
> the tile:
>
> var tmp_src = this.src;
> this.src = tmp_src+"&retry="+this._attempts;
>
> This allows you to monitor how many times an image fails to load from
> your server logs as well.

Ben,

Thanks for sharing this thing. Was your problem related to some cache
effect in IE?

--
Eric
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to