Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #590286

    Hi, I have some trouble with Avia Layout Builder on “Catalogue Elements”
    I need to create a list (as show on attached link) but all preview images are cropped width 180x180px (squared)
    I need to remove automatic-cropping from preview image because, as you can see with the first element of the list, some images are vertical-size.

    I hope to have explained my problem at best. Sorry for my bad english. Thank you for your kind support!

    #590288

    Sorry. I’ve changed the example directory.
    This is the right one.

    Thank you

    #590290

    Hey!

    Please take a look here
    https://kriesi.at/support/topic/how-to-disable-enfold-creating-media-image-sizes/

    how to use and act with the cropping.
    Let us know if you have any more questions

    Best regards,
    Basilis

    #590461

    Dear Basilis, thank you for your kind help.
    I’ve tried to follow the instruction posted by the user of other topic (http://prnt.sc/4dwc7y), but it seems not work.

    I mean that when I create a list for my catalogue (avia layout builder) and I choose a vertical image, this is the miniature that I got (see attached url)
    The size remains 180×180 but on my function.php I had commented those lines

    /*
    $avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
    $avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
    $avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1500, ‘height’=>630 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘extra_large’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider
    $avia_config[‘imgSize’][‘portfolio’] = array(‘width’=>495, ‘height’=>400 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘portfolio_small’] = array(‘width’=>260, ‘height’=>185 ); // images for portfolio 4 columns
    $avia_config[‘imgSize’][‘gallery’] = array(‘width’=>845, ‘height’=>684 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘magazine’] = array(‘width’=>710, ‘height’=>375 ); // images for magazines
    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>705, ‘height’=>705 , ‘crop’ => false); // images for fullscreen masonry
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’] = apply_filters(‘avf_modify_thumb_size’, $avia_config[‘imgSize’]);

    $avia_config[‘selectableImgSize’] = array(
    ‘square’ => __(‘Square’,’avia_framework’),
    ‘featured’ => __(‘Featured Thin’,’avia_framework’),
    ‘featured_large’ => __(‘Featured Large’,’avia_framework’),
    ‘portfolio’ => __(‘Portfolio’,’avia_framework’),
    ‘gallery’ => __(‘Gallery’,’avia_framework’),
    ‘entry_with_sidebar’ => __(‘Entry with Sidebar’,’avia_framework’),
    ‘entry_without_sidebar’ => __(‘Entry without Sidebar’,’avia_framework’),
    ‘extra_large’ => __(‘Fullscreen Sections/Sliders’,’avia_framework’),

    );

    avia_backend_add_thumbnail_size($avia_config);

    if ( ! isset( $content_width ) ) $content_width = $avia_config[‘imgSize’][‘featured’][‘width’];
    */

    I cant resolve how to remove auto-square-cropping system and let original size on upload images.
    Thank you for your help

    webba

    #590462

    Hey!

    Have you tried the plugin that ismael suggest that will save you time?

    Regards,
    Basilis

    #590468

    Dear Basilis,
    I’ve no found this suggestion, sorry. What’s the name of this plugin?
    But I think that the image is cropped when I select the miniature for my catalogue item. In that moment, Avia crops my image at 180×180 and I don’t know how to remove this automatic function :-(

    #591925

    Hi!

    Install the following plugin then go to the Settings > Media panel. Adjust the size of the “square” thumbnail, update, save then regenerate the thumbnails: https://wordpress.org/plugins/simple-image-sizes/

    Cheers!
    Ismael

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