定制 trive/module-adaptive-resize 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

trive/module-adaptive-resize

Composer 安装命令:

composer require trive/module-adaptive-resize

包简介

Resize image with crop functionality fot Magento 2 extension

README 文档

README

Based on (AdaptiveResize)[https://github.com/obukhow/AdaptiveResize] for Magento 1

Examples:

  1. $this->helper('Trive\AdaptiveResize\Helper\Image')->init($_product)->adaptiveResize(240,300);
  2. $this->helper('Trive\AdaptiveResize\Helper\Image')->init($_product,'category_page_grid')->adaptiveResize(240,300);
  3. $this->helper('Trive\AdaptiveResize\Helper\Image')->init($_product,'category_page_grid')->setCropPosition('top')->adaptiveResize(240);

You can use following parameters with setCropPosition function:

  • top
  • top-left
  • top-right
  • bottom
  • bottom-left
  • bottom-right
  • center
  • center-left
  • center-right

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 4
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: Commercial
  • 更新时间: 2017-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固