Skip to content

User profile image feature - #579

Closed
AndreScara11 wants to merge 16 commits into
2amigos:masterfrom
YetOpen:profile-image
Closed

User profile image feature#579
AndreScara11 wants to merge 16 commits into
2amigos:masterfrom
YetOpen:profile-image

Conversation

@AndreScara11

Copy link
Copy Markdown
Contributor
Q A
Is bugfix? no
New feature? yes
Breaks BC? no
Tests pass? yes
Fixed issues

Add user profile image feature

This pull request introduces a simple and flexible method for storing and displaying a user profile image within yii2-usuario.

What's included

  • Migration adding a MEDIUMBLOB column to the profile table.
  • File input in the profile form to upload or update the user's profile picture.
  • New module property maxProfileImageSize to configure the maximum allowed image size.
  • Helper method to easily retrieve the image as a base64 data URL for rendering in views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants