如何在gallery jquery库中显示原始图像

发布于 2024-10-10 01:16:03 字数 63 浏览 0 评论 0原文

我希望图像以其原始尺寸显示,而不是拉伸。如何?我怎样才能禁用它。

任何知道解决方案的人请帮助我。

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挖个坑埋了你 2024-10-17 01:16:03

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文