Closed bmihelac closed 1 year ago
ups, it should have been marked in the Changelog.
it also looks that HIGH_RESOLUTION
should be removed here:
@bmihelac I agree, it probably should be treated more severely. If you've got time for a PR to implement this and clean up that vestigial code, it'd be appreciated.
This was not the fastest pull request, but here it is :) Let me know if you think anything else is needed.
In easy-thumbnails 2.8 support for high resolution images (
THUMBNAIL_HIGH_RESOLUTION
andTHUMBNAIL_HIGHRES_INFIX
settings) and I believeHIGH_RESOLUTION
argument forthumbnail
tag has also been removed.References: https://github.com/SmileyChris/easy-thumbnails/pull/560/commits/eab17ada81aba72fc7bf694a577c420fc0b3bad2 https://github.com/SmileyChris/easy-thumbnails/pull/560/commits
easy-thumbnails warns if settings above are used, which is great:
However I believe it should be marked as breaking change, and throw
ImproperlyConfiguredError
if this 2 settings are still used. The reason is that following snippet would yield no result in 2.8, which gives broken images, where used: