axllent/silverstripe-scaled-uploads
最新稳定版本:2.3.9
Composer 安装命令:
composer require axllent/silverstripe-scaled-uploads
包简介
Automatically scale down and rotate uploaded images for Silverstripe
README 文档
README
An extension to automatically scale down all new uploaded images in Silverstripe and (optionally) compress all uploaded images (resample). If the uploaded image is larger than a pre-configured size, it will be scaled down. The extension also supports auto-rotation of JPG images eg: portrait images taken with digital cameras or cellphones.
It also supports custom folder configurations to allow for different settings based on the folder they are uploaded into.
Requirements
- Silverstripe ^4.0 || ^5.0 || ^6.0
- EXIF support for auto-rotation
For Silverstripe 3, please refer to the Silverstripe3 branch.
Usage
Simply install the module. All images are (by default) scaled to a maximum size of 960px (width) X 800px (height), and auto-rotation (based on EXIF data) for JPG images is by default on.
Configuration
Please refer to the Configuration.md file for options.
Installation
composer require axllent/silverstripe-scaled-uploads
统计信息
- 总下载量: 77.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 1
- 依赖项目数: 8
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2014-01-12