django-imagekit icon indicating copy to clipboard operation
django-imagekit copied to clipboard

AdminThumbnail: Use source from generator if image_field is a function

Open autoantwort opened this issue 1 year ago • 1 comments

My main motivation was this example from the readme: https://github.com/matthewwithanm/django-imagekit?tab=readme-ov-file#admin (To use specs defined outside of models:)

If you use this example code and click on the thumbnail image in the admin interface, the thumbnail image will open and not the original image. With this PR the original image will be opened.

autoantwort avatar Sep 29 '24 23:09 autoantwort