volldigital/autosizeimages 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

volldigital/autosizeimages

Composer 安装命令:

composer require volldigital/autosizeimages

包简介

Statamic 3 addon to automagically resize images

README 文档

README

This statamic 3 addon provides you with the ability to get automagically resized images upon uploading.

Get started

Installation

Use the statamic marketplace to install the addon.

For evaluation purposes you may install the plugin directly via

composer require volldigital/autosizeimages

Publish the config

php artisan vendor:publish --provider="VOLLdigital\Autosizeimages\ServiceProvider"

You may modify the published config and add as many formats as you need. The config is provided in YAML format.

Example:

size_configs:
  -
    width: 480
  -
    width: 640
  -
    width: 900
  -
    width: 1200
  - 
    width: 400
    height: 400

The following resized images will be created while keeping the aspect ratio

  • Width: 480px
  • Width: 640px
  • Width: 900px
  • Width: 1200px

The following resized images will be created while NOT keeping the aspect ratio

  • Width: 400px, Height: 400px

Regenerate all resized images

You can use the console command php artisan autosizeimages:refresh to delete and recreate all resized images. You should use this with caution though, especially if you made changes to the config in between image generations. You may need to manually link them to all entries again.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固