Galleria software - Could not extract a stage height from the CSS

Rick R. picture Rick R. · Oct 1, 2011 · Viewed 8.5k times · Source

I'm experiencing an error - Could not extract a stage height from the CSS: Traced height 0px - when I refresh a page with a Galleria gallery in both IE8 and Firefox 6.0.2. I've made these changes:

1) To the html by changing this tag -

 !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 //EN" 

2) Added the height attribute to the

.galleria-stage {height: 467px;}

3) Matched the following tags in the head section -

 link type="text/css" rel="stylesheet" href="galleria/themes/classic/galleria.classic.css"
 script type="text/javascript" src="js/galleria-1.2.5.min.js"
 script type="text/javascript" src="galleria/themes/classic/galleria.classic.min.js"

I continue to experience this error. Please help! (I've removed less than and greater than symbols in this posting but they are included in my code).

Thanks,

Rick R.

Answer

Flowgram picture Flowgram · Dec 13, 2011

According to the script author this problem has been fixed in the latest beta: https://github.com/aino/galleria/blob/master/src/galleria.js