hrevert/ht-profile-image
Composer 安装命令:
composer require hrevert/ht-profile-image
包简介
A Zend framework module which adds profile image upload functionality to ZfcUser
关键字:
README 文档
README
A Zend framework 2 module which adds profile image upload functionality to ZfcUser
Requirement
Features
- 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
Installation
- 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.
How To
Please check this /docs folder for more details on how to use this module.
TODO
- Ajax image upload
- Improve tests
统计信息
- 总下载量: 635
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-12-23