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
- Add
"hrevert/ht-profile-image": "2.3.*",to your composer.json and runphp composer.phar update - Enable this module as
HtProfileImageandHtImgModuleinconfig/application.config.php - Copy file located in
config/htprofileimage.global.phpto./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 HtImgModule.
Please check this /docs folder for more details on how to use this module.
- Ajax image upload
- Improve tests



