ExVenture.Users.Avatar (ExVenture v0.1.0) View Source

Handle uploading avatars to remote storage for users

Link to this section Summary

Functions

Get a storage path for uploading and viewing the avatar image

Generate a thumbnail for the avatar image

Generate an upload key

If the avatar param is available upload to storage

Regenerate the avatar image for a user

Link to this section Functions

Get a storage path for uploading and viewing the avatar image

Link to this function

generate_avatar_versions(user, file)

View Source

Generate a thumbnail for the avatar image

Generate an upload key

Link to this function

maybe_upload_avatar(user, params)

View Source
Link to this function

maybe_upload_avatar_image(user, arg2)

View Source

If the avatar param is available upload to storage

Regenerate the avatar image for a user