日期:2014-05-16  浏览次数:20794 次

这个JS效果实在太难分解出来了
目标:http://galleria.io/themes/twelve/

改了一下g.min.js
只用两张图片,但总是提示:

Could not scale image: http://192.168.1.100/static/i/s2013/2.jpg
Could not scale image: http://192.168.1.100/static/i/s2013/3.jpg
Fatal error: Theme CSS could not load after 20 sec. 
Fatal error: Stage width or height is too small to show the gallery. Traced measures: width:776px, height: 18px.

但直接http://192.168.1.100/static/i/s2013/2.jpg就可以打开,不知道是什么原因了,g.min.js里面也没找到有什么限制的
JavaScript HTML Galleria?

------解决方案--------------------
CSS无法加载20秒后。
致命错误:舞台宽度或高度太小,无法显示的画廊。追溯到措施:宽度:776px,高度:18px的。
------解决方案--------------------
run: function(e, q, w) {
q = q 
------解决方案--------------------
 "#demo";
w = w 
------解决方案--------------------

function() {};
m.theme = F[e];
m.utils.loadCSS(THEMES_URL + e + "/" + e + ".css", "galleria-theme",
function() {
h(q).galleria({
responsive: !0,
height: 0.5,
dataSource: G_DEMO_IMAGES,
maxVideoSize: 1300,
extend: function(e) {
w.call(this, e)
}
})
})
},

他这里还有吊一个CSS,这个CSS路径放对了么