02/22/2018 at 3:59 pm
#452736
Participant
Thanks so much for your help! Here is an example of a listing with the image: https://www.nzgsta.co.nz/our-members/pg/5/
I have attached the image that I upload, but when I view the image on the listing it shows as https://www.nzgsta.co.nz/wp-content/uploads/connections-images/wholesale-seeds/wheat-009ec718fa607b9cfeb44e837e7e2140.jpg so it looks to be resizing the image on upload? My image settings are 600px x 400px, so it is forcing this height to 400px but keeping the width proportional.
The image code in card.php and card-single.php is
<?php
if ( 'none' !== $atts['image'] ) {
$entry->getImage(
array(
'image' => $atts['image'],
'width' => $atts['image_width'],
'height' => $atts['image_height'],
'zc' => $atts['image_crop_mode'],
'fallback' => array(
'type' => $atts['image_fallback'],
'string' => $atts['str_image'],
),
)
);
}
?>
Thanks for any further help!
