User's Initials as Avatar?
Hi folks,
Wondering if anyone is defaulting a user's avatar to their initials using Cloudinary, with a background color to frame the initials. It seems like it should be possible with text overlay and background color transformations, but I'm wondering if anyone's done it cleanly.
I'm using the rails-carrierwave integration, if that matters.
Thanks!
1
-
Hi Charlie,
You can write a short script and run it once to pre-create initials images of all options (26x26=676 images).
This shouldn't affect much on your account's storage (e.g., a 100x100 JPG image should be around 2KB.
2KB x 676 = 1.352 MB for all initials images).Then you can set the appropriate initials image as the user's default image.
0
Post is closed for comments.
Comments
1 comment