06/04/2015 at 9:43 am
#336504
Keymaster
@ Alex
To change the default crop mode, use the filter I gave in my last reply or change this in the card.php:
$entry->getImage( array(
'image' => $atts['image'],
'height' => 120,
'width' => 100,
'fallback' => array(
'type' => $atts['image_fallback'],
'string' => $atts['str_image']
)
)
);
to this:
$entry->getImage( array(
'image' => $atts['image'],
'height' => 120,
'width' => 100,
'zc' => 2,
'fallback' => array(
'type' => $atts['image_fallback'],
'string' => $atts['str_image']
)
)
);
You could also use crop mode 3 if you wish.
Hope that helps.
