04/19/2017 at 11:54 am
#420509
Keymaster
@ John
Ok, edit the card.php file found here:
../wp-content/plugins/connections-gridder/
Change this:
<?php $entry->getImage(
array(
'image' => $atts['image'],
'height' => $atts['image_height'],
'width' => $atts['image_width'],
'fallback' => array(
'type' => 'block',
'string' => ''
),
'style' => $atts['image_opacity'] ? array( 'opacity' => $atts['image_opacity'], 'filter' => 'alpha(opacity=' . $atts['image_opacity'] * 100 . ')' ) : array(),
)
); ?>
to this:
<?php $entry->getImage(
array(
'image' => $atts['image'],
'height' => $atts['image_height'],
'width' => $atts['image_width'],
'zc' => 2,
'fallback' => array(
'type' => 'block',
'string' => ''
),
'style' => $atts['image_opacity'] ? array( 'opacity' => $atts['image_opacity'], 'filter' => 'alpha(opacity=' . $atts['image_opacity'] * 100 . ')' ) : array(),
)
); ?>
If you make this change, you should review the docs on custom template override files so you can make this edit update safe.
