django-avatar
django-avatar copied to clipboard
no avatar image not resized
When using {% avatar_url user 30 %} and the user has no avatar, the no_avatar img shows in the default size.
I'm running into this same issue and thought I'd add my findings.
Specifying a non-gravatar default results in the avatar not being resized, even if you specify default rendering sizes with AUTO_GENERATE_AVATAR_SIZES, and rebuild avatars with the rebuild_avatars manager. I verified this for both PNG and JPEG images.
The same default image resizes correctly when uploaded via the app, so I'll need to figure out how to programmatically do that as part of my process. @eka, did you already figure out a way to accomplish this? Maybe I'll try to pull and fix if a lot of others are running into this issue, I imagine this is a fairly common use case.
Likely solved in current version. Please reopen if it has not been solved.