/django-image-exif-rotation

django-blog-project(fixed-EXIF-rotation)

Primary LanguagePHP

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 :)