Skip to content

joelvarma/django-image-exif-rotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-image-exif-rotation

If you are building a forum/blog, you want to enable users to add Pictures where pictures have different orientation when they are captured in the devices. So images once you upload to a server might change their orientation and rotate. This repository has sample code to use for correctly rotating the images based on the EXIF orientation.

  • You can find the exif rotation function in models.py

  • Make sure to use proper settings in your project.

Raise a github ticket if you want to report any bug! Happy to help :)