Please take a look at our portfolio pages. It is cutting down the images so you can’t see the top and bottom of the images. Can’t we format that somehow? Thank you in advance for your help.
Hey janton1,
Try adding this code at the bottom of your functions.php (just adjust the width and height, the ones currently in code is the default):
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['entry_with_sidebar'] = array('width'=>845, 'height'=>321);
return $size;
}
if you don’t want cropping you can use this code (still change the width and height):
<pre><code>add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['entry_with_sidebar'] = array('width'=>845, 'height'=>321, 'crop'=>false);
return $size;
}
Best regards,
Nikko
Please help!! The first code does not change the size at all.
The second one crashes my site.
Sorry these are not working.
Hi janton1,
Sorry, the 2nd code should be:
add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
function enfold_customization_modify_thumb_size( $size ) {
$size['entry_with_sidebar'] = array('width'=>845, 'height'=>321, 'crop'=>false);
return $size;
}
Also I forgot to mention, for this to work, you will need to re-upload the image or use a regenerate image plugin to regenerate images.
Best regards,
Nikko