V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
newbie269
V2EX  ›  Django

django 后台实现图片剪裁等功能?

  •  
  •   newbie269 · Dec 8, 2016 · 3502 views
    This topic created in 3427 days ago, the information mentioned may be changed or developed.

    要求实现:

    • 图片剪裁(类似论坛上传头像)
    • 图片上传
    • 图片管理(删除,重命名等)

    求推荐个模块?

    Supplement 1  ·  Dec 8, 2016
    目前我是 django1.10,python3.5
    5 replies    2016-12-11 16:25:58 +08:00
    0bit
        1
    0bit  
       Dec 8, 2016
    Django FileBrowser:
    https://github.com/sehmaschine/django-filebrowser

    需要搭配 Grappelli 使用,或多或少有一些坑,需要谨慎。

    静态文件存储,还是推荐直接对接云存储服务,裁剪和分发都更方便,也方便部署和扩展。
    qwer1234asdf
        2
    qwer1234asdf  
       Dec 8, 2016 via iPhone
    pillow
    newbie269
        3
    newbie269  
    OP
       Dec 8, 2016
    @0bit 我直接用的 bootstrap-admin 了,已经不想换了,还有其他合适的解决方案吗?
    https://github.com/matthewwithanm/django-imagekit
    这个如何?
    可以解决问题好?
    0bit
        4
    0bit  
       Dec 11, 2016
    @willhunger 看起来还可以,但是活跃度堪忧
    newbie269
        5
    newbie269  
    OP
       Dec 11, 2016
    @0bit 然而并没有成功--
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1063 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:48 · PVG 02:48 · LAX 11:48 · JFK 14:48
    ♥ Do have faith in what you're doing.