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

    Hi dear Kriesi-team,

    I would like to change the image size of the magazine settings to 546×734

    Unfortunately in settings->media I have only three options: https://imgur.com/KaAvdBa which I already use.

    Where can I change the rest of the settings like the magazine one?

    I found this two codes but unfortunately, I don´t know which one to use

    function avia_change_image_size_array() {
    global $avia_config;
    $avia_config[‘imgSize’][‘page’] = array(‘width’=>620, ‘height’=>200);
    }
    add_action( ‘init’, ‘avia_change_image_size_array’);

    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’=>300, ‘height’=>300);
    return $size;
    }

    Thank you very much

    best,
    Veronika

    #1347836

    Hey Veronika,

    Please try to use this code and put it in your child theme’s functions.php file:

    function enfold_customization_modify_thumb_size( $size ) {
      $size['magazine'] = array('width'=>546, 'height'=>734);
      return $size;
    }
    
    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );

    Best regards,
    Nikko

    #1347914

    Hi Nikko,

    could you be please more specific, where exactly should I insert the code? I inserted it here: https://imgur.com/a/x2ZrXwz

    Unfortunately it still looks like this: https://imgur.com/a/mrhyz0V

    It is the 5th section on my welcome page https://imgur.com/a/dsOfbca the image does not change the size. What do you recommend?
    Thank you

    All the best,
    Veronika

    #1347919

    I have to add:

    it changed in backend: https://imgur.com/IvC8Bt7
    but not in frond end:https://imgur.com/a/zyjap4M

    What else could I do?

    Thank you

    #1348438

    Hi Veloryana,

    You can either re-upload the images, if there’s many images then you can still use this plugin: https://wordpress.org/plugins/regenerate-thumbnails/
    Hope it helps.

    Best regards,
    Nikko

    #1357817

    Hi,

    you can close this now, thank you

    #1357830

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘image size magazine’ is closed to new replies.