• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Yan_6
V2EX  ›  程序员

Jcrop这插件太难用了,欲哭无泪啊。按照官方例子照搬都不好使,http://deepliquid.com/projects/Jcrop/demos.php?demo=thumbnail,有一种想撞墙的冲动啊。

  •  
  •   Yan_6 · Dec 15, 2012 · 4158 views
    This topic created in 5086 days ago, the information mentioned may be changed or developed.
    7 replies  •  1970-01-01 08:00:00 +08:00
    tunetoystory
    tunetoystory
    Dec 15, 2012
    1
    貌似我有个demo,jia2.rabbit52.com
    demo账号登录,右上角设置头像
    Yan_6
    Yan_6
    OP
    Dec 15, 2012
    2
    已经解决了,原来是bootstrap的img搞的鬼。ps:网站做的不错哦:)
    Yan_6
    Yan_6
    OP
    Dec 15, 2012
    3
    tunetoystory
    tunetoystory
    Dec 15, 2012
    4
    @Yan_6 哈哈,谢谢
    da_a
    da_a
    Dec 18, 2012
    5
    @Yan_6 最近我也遇到,请问你怎么解决bootstrap下使用Jcrop出现的区域不准确问题 请赐教
    Yan_6
    Yan_6
    OP
    Dec 19, 2012
    6
    @da_a 在bootstrap.css中把img的"max-width: 100%"删除或者注释就好使了。
    da_a
    da_a
    Dec 19, 2012
    7
    @Yan_6 谢谢 可以了 为了不影响bootstrap框架 建议在自己的css中为jcrop容器里的img增加“max-width: none”
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   923 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:23 · PVG 04:23 · LAX 12:23 · JFK 15:23
    ♥ Do have faith in what you're doing.