Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #700109

    Hello,

    Image crop top center, for post (featured)
    in function.php i have this
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321, array(top, center));
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423, array(top, center));

    But it’s doesn’t work when i upload new picture :-/
    I always have a picture cut in the middle (vertical middle) :-(

    #700155

    Hey cyril92!

    Please chek the code as folling

    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321, array(top, center));
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423, array(top, center));

    let us know if that works better

    Regards,
    Basilis

    #703323

    Hello,

    It’s a joke ? ;-)
    You’re code is exactly what i have….

    #703327

    Hi,

    Try the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the entry_without_sidebar and entry_with_sidebar image size (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.