承接 thelogicstudio/silverstripe-resize-image 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

thelogicstudio/silverstripe-resize-image

最新稳定版本:v2.0.0

Composer 安装命令:

composer require thelogicstudio/silverstripe-resize-image

包简介

A Silverstripe extension to enforce maximum image upload dimensions.

关键字:

README 文档

README

This package implements a maximum image upload size. If uploaded images are larger than the defined dimensions, the original will be reduced in size. By default this limits to 2000px in either dimension.

Prerequisites

This uses the command line ImageMagick convert command. If that isn't available to PHP's exec() function, this extension will not work.

Usage

> composer require thelogicstudio/silverstripe-resize-image

Configuration

Configuration can be updated in your assets.yml (or any config file). To change your maximum dimensions to 1000px:

TheLogicStudio\ResizeImages\ResizeImages:
  maximum_width: 1000
  maximum_height: 1000

统计信息

  • 总下载量: 94
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-07