Coder Social home page Coder Social logo

Comments (5)

anrie avatar anrie commented on June 3, 2024

It looks like Jcrop isn't properly loaded in your example. Are there any errors showing up in the console?

But the real problem seems to be that the image isn't correctly loaded.
Are you sure that the image exists and that your MEDIA_URL and MEDIA_ROOT are setup correctly?

from django-image-cropping.

marciomazza avatar marciomazza commented on June 3, 2024

Same cenario for me. Nothing happens.

django-image-cropping (0.9)
easy-thumbnails (2.2)
Pillow (2.6.0)
pip (1.5.6)
...

It would really help if we knew what to expect. You could add some printscreens to the docs.

from django-image-cropping.

marciomazza avatar marciomazza commented on June 3, 2024

My problem seems to be solved. In my case I just noticed I customized fieldsets and that the ImageRatioField was being displayed. Maybe the docs could explain it must be, since the croping is made in a widget for this field. I thought the image field would be the one changed.

from django-image-cropping.

anrie avatar anrie commented on June 3, 2024

Sorry, but I'd say the docs are already pretty clear about this:

The cropping itself happens in the ImageRatioField, the ImageCropField will still behave like a regular ImageField. If you're selectively including or excluding fields from the ModelForm, remember to include the ImageRatioField.

If you have specific suggestions for improving the current docs don't hesitate to send a Pull Request.

from django-image-cropping.

skijash avatar skijash commented on June 3, 2024

I solved the problem, and I sent a pull request for changing README.rst to clarify how a new project should be set up.

from django-image-cropping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.