Jim Grandy wrote: > On Jul 10, 2006, at 5:21 PM, Max Carlson wrote: > >> >> Tests: LzPix now starts up without hanging Safari. Runtime image >> loading is still broken. > > What would it take to get runtime image loading working? Any idea what's > going wrong? > > Thanks, > > jim
I found the problem. If a div (or parent div) is not visible in Safari when an image loads it reports its width and height as 0. This will require some tricky heuristics to solve - if any parent is invisible, I need to make it visible temporarily to get an accurate measurement. I'll keep thinking on this. It's similar to the problem with divs in IE needing to know if the div (or parent div) has opacity set before an image is loaded. -Max _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
