gpt4 book ai didi

javascript - ImageFlow 显示默认宽高

转载 作者:技术小花猫 更新时间:2023-10-29 11:41:28 26 4
gpt4 key购买 nike

这里有人和http://finnrudolph.de/ImageFlow/一起工作过吗?它调整了我的图像大小,我希望它们看起来更大,我已经玩过这些设置......但是......所以有人可以帮助我吗?我希望 imagesz 以原始宽度和高度的 80-90% 显示

最佳答案

尝试增加以下属性的值:

Name               Default value   Purpose
-------- ------------- -------
imageFocusM 1.0 Percent size of image in focus (1.0 = 100%)
imagesHeight 0.67 Percent height of main div container (.67 = 67%)
imagesM 1.0 Percent size of all images (not just in focus image)
percentLandscape 118 Scale of landscape images
percentOther 100 Scale of portrait or square images

尝试:

  1. imageFocusM = 1.8
  2. 图片高度 = 1.2
  3. 图片M = 1.8

此外,非常重要,不要忘记 img 上的高度和宽度属性:

<img src="images/image1.jpg" width="400" height="275" alt="Image 1" />

关于javascript - ImageFlow 显示默认宽高,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3663655/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com