2
我正在使用优秀的jQuery coverflow插件ContentFlow,但我遇到了问题。ContentFlow:如何不缩放图片?
在中心的图片总是缩放太多,这使得它模糊。经过无数次尝试后,我仍然无法看到问题来自何处。
下面是相关的配置选项:
// overall scale factor of content
scaleFactor: 1.0,
// scale factor of landscape images ('max' := height= maxItemHeight)
scaleFactorLandscape: "max",
// scale factor of portraoit and square images ('max' := width = item width)
scaleFactorPortrait: "max",
我发现,通过设置scaleFactor
0.84左右,在流动显示的图像的大小和原来一样的,但仍然模糊。任何想法 ?
你可以扩展一下你是如何做到这一点的?我遇到同样的问题......谢谢! – Ben 2012-05-04 15:11:05
Hi @Ben对不起,我失去了访问我的帐户,并没有通知你的问题。如果你仍然需要它,这里是答案:你需要设置'maxItemHeight'参数为图像的高度,例如:'maxItemHeight:150' – 2013-02-14 23:08:27