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

no avatar image not resized

Open eka opened this issue 14 years ago • 1 comments

When using {% avatar_url user 30 %} and the user has no avatar, the no_avatar img shows in the default size.

eka avatar May 26 '10 00:05 eka

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.

mkascel avatar Sep 01 '12 17:09 mkascel

Likely solved in current version. Please reopen if it has not been solved.

johanneswilm avatar Aug 16 '22 10:08 johanneswilm