A Zend framework 2 module which adds profile image upload functionality to ZfcUser
- Setting Gravatar as alternative when user has not uploaded his image
- Setting gender wise default image when user has not uploaded his image
- Resizing options for storing
- Useful view helpers to get user images from view templates
"hrevert/ht-profile-image": "2.3.*",to your composer.json and run
php composer.phar update
- Enable this module as
- Copy file located in
./config/autoload/htprofileimage.global.phpand change the values as you wish
- Import the SQL schema located in
./vendor/hrevert/ht-profile-image//data/schema.sqlif you use want to use different default images for different genders.
Note: Also, checkout the options of
Please check this /docs folder for more details on how to use this module.
- Ajax image upload
- Improve tests