Question

OK. Been working on submitting a form where on of the fields is an imagefield and save as an object in the database. Can't get anything to work... So Im back where im started and my simple question is:

Do i need to install Pillow or PIL to make this? If so which would you recommend?

Thanks!

UPDATE: NO. Using PIL/Pillow is only required if you want to do image processing.

Was it helpful?

Solution

Yes, as the ImageField documentation states:

Requires the Pillow Library.

You can use either PIL or Pillow, but the latter contains many fixes and improvements over the original package, and only Pillow works on Python 3. I'd install Pillow.

The dependency is used to determine the image dimensions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top