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

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

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