salted-herring/image-orientation-fixer
Composer 安装命令:
composer require salted-herring/image-orientation-fixer
包简介
Automactially rotate the image that you upload to SilverStripe CMS, based on its orientation value stored in the exif data.
README 文档
README
##Have you ever come across the moments like below:
What does this module do?
Automactially correct the image's rotation / orientation that you upload to SilverStripe CMS, based on its orientation value stored in the exif data.
Install
The module can be installed via composer:
composer require salted-herring/image-orientation-fixer
After composer has downloaded the directory, go to your SilverStripe website, and in browser's addres bar, attache "?flush=all" to the existing URL, and then hit "Enter"
Usage
Once you have done the installation, it's ready to go -- upload an image with orientation (simply, any portrait orientation photo taken by iPhone), and check if the thumbnail is resampled in the right orientation.
So, have fun coding :)
统计信息
- 总下载量: 1.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-17