如何在gallery jquery库中显示原始图像
我希望图像以其原始尺寸显示,而不是拉伸。如何?我怎样才能禁用它。
任何知道解决方案的人请帮助我。
I want images to display in their original size, not stretched. How? How can I disable that.
Anyone who knows the solution please help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
max_scale_ratio
类型:
数字
默认值:
未定义
设置图像的最大缩放比例。 F.ex,如果您不希望 Galleria 放大任何图像,请将其设置为
1
。undefined
将允许对图像进行任何缩放。max_scale_ratio
type:
Number
default:
undefined
Sets the maximum scale ratio for images. F.ex, if you don't want Galleria to upscale any images, set this to
1
.undefined
will allow any scaling of the images.