Re: Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-10-29 Thread Adam Taylor
What about having a setting that is used in the django/core/files/images.py file's get_image_dimensions function? Something like IMAGE_DIMENSIONS_USES_EXIF. It could default to False at first to maintain backwards compatibility and eventually could be True by default. If the setting is set to T

Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-09-24 Thread Adam Taylor
Following the advice of David Sanders and Mariusz Felisiak, I'm coming here with my proposal rather than continuing on with the ticket system (see ticket #34035 ). I understand the reluctance to make this change. However, things change with web brows

Logging Out with POST by Default?

2012-09-20 Thread Adam Taylor
I recently read the Coding Horror article Cross-Site Request Forgeries and You, which suggests requiring an HTTP POST form submission for logging out. This same suggestion is implied in the Django book (chapter