Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VersatileImageFieldWarmer regenerate images for delete rendition key set #192

Open
roshanshrestha01 opened this issue Jul 13, 2021 · 0 comments

Comments

@roshanshrestha01
Copy link

Image are initially created with proper rendition key set.

warmer = VersatileImageFieldWarmer(
                        instance_or_queryset=queryset,
                        rendition_key_set=[('large_horiz', 'crop__1200x600')],
                        image_attr=field,
                        verbose=True,
                    )
warmer.warm()                  

Then, when rendition set sized images are deleted from media/__sized__/ re-running warm doesn't create new image but if we change rendition_key_set to rendtion_key_set=[[('large_horiz', 'crop__1250x600')] images are created.
Even when we run delete_sized_images, delete_all_created_images, delete_filtered_images, delete_filtered_sized_images and delete_sized_images. Images are not regenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant