2017 © Pedro Peláez
 

magento2-module module-adaptive-resize

Resize image with crop functionality fot Magento 2 extension

image

trive/module-adaptive-resize

Resize image with crop functionality fot Magento 2 extension

  • Wednesday, July 5, 2017
  • by chombe
  • Repository
  • 4 Watchers
  • 6 Stars
  • 239 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 51 % Grown

The README.md

Image Resize and Crop for Magento 2

Based on (AdaptiveResize)[https://github.com/obukhow/AdaptiveResize] for Magento 1, (*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);, (*2)

You can use following parameters with setCropPosition function: - top - top-left - top-right - bottom - bottom-left - bottom-right - center - center-left - center-right, (*3)

The Versions

05/07 2017

dev-master

9999999-dev

Resize image with crop functionality fot Magento 2 extension

  Sources   Download

commercial

The Requires

  • php ~5.6.0|~7.0.0

 

16/02 2017

1.0.0

1.0.0.0

Resize image with crop functionality fot Magento 2 extension

  Sources   Download

commercial

The Requires

  • php ~5.6.0|~7.0.0