[pmwiki-users] mini with either ultralightbox or galleria

Petko Yotov 5ko at 5ko.fr
Fri Dec 7 11:34:12 CST 2012


Peter Bowers writes:
> On Thu, Dec 6, 2012 at 10:00 PM, Peter Bowers wrote:
> > Galleria still gives me an error "Fatal Error: Theme CSS could not load".  
>
> Unfortunately I looked into everything I can figure out (even traced a ways  
> into the javascript trying to identify where/why the error is coming from)  
> and I'm not having any luck.

Would you mind trying with smaller pictures? Yours are about 4M each.

The script expects the css theme to be loaded in 10 seconds, but I assume  
some browsers download it after or in parallel with the pictures and this  
can take a loooong time.

With the Chromium browser, the page loads mostly fine including the theme,  
but it complains that one of the pictures couldn't be loaded in 30 seconds.

If your pictures are smaller, they'll fit better on the visitors' screens,  
they'll load faster and they'll waste less bandwidth (yours and visitors').  
1000x750 pixels at 85% jpeg quality is probably enough for most of us.

The latest version of the Galleria script has this "theme load delay" set to  
20 seconds. I'll try to find some time to review it and update the Mini- 
Galleria recipe, but I believe this delay is way too long for a simple  
webpage.

Petko




More information about the pmwiki-users mailing list