Close

Account

Documentation

Forum

Menu

Reply To: Custom Image Crop

Post count: 2
pyramedia
November 15, 2017 at 6:22 am #25454

can you make these crop from center top

$this->prefix . ‘360×180’ => array(‘width’ => 360, ‘height’ => 180, ‘crop’ => true , ‘dimension’ => 500),
$this->prefix . ‘750×375’ => array(‘width’ => 750, ‘height’ => 375, ‘crop’ => true , ‘dimension’ => 500),
$this->prefix . ‘1140×570’ => array(‘width’ => 1140, ‘height’ => 570, ‘crop’ => true , ‘dimension’ => 500),

// dimension : 0.715
$this->prefix . ‘120×86’ => array(‘width’ => 120, ‘height’ => 86, ‘crop’ => true , ‘dimension’ => 715),
$this->prefix . ‘350×250’ => array(‘width’ => 350, ‘height’ => 250, ‘crop’ => true , ‘dimension’ => 715),
$this->prefix . ‘750×536’ => array(‘width’ => 750, ‘height’ => 536, ‘crop’ => true , ‘dimension’ => 715),
$this->prefix . ‘1140×815’ => array(‘width’ => 1140, ‘height’ => 815, ‘crop’ => true , ‘dimension’ => 715),

// dimension
$this->prefix . ‘360×504’ => array(‘width’ => 360, ‘height’ => 504, ‘crop’ => true , ‘dimension’ => 1400),

// dimension 1
$this->prefix . ’75×75′ => array(‘width’ => 75, ‘height’ => 75, ‘crop’ => true , ‘dimension’ => 1000),

// featured post
$this->prefix . ‘featured-750’ => array(‘width’ => 750, ‘height’ => 0, ‘crop’ => true , ‘dimension’ => 1000),
$this->prefix . ‘featured-1140’ => array(‘width’ => 1140, ‘height’ => 0, ‘crop’ => true , ‘dimension’ => 1000),