Tagged: image size, magazine
-
AuthorPosts
-
April 9, 2022 at 10:22 pm #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,
VeronikaApril 10, 2022 at 7:57 am #1347836Hey 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,
NikkoApril 11, 2022 at 9:32 am #1347914Hi 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 youAll the best,
VeronikaApril 11, 2022 at 9:45 am #1347919I have to add:
it changed in backend: https://imgur.com/IvC8Bt7
but not in frond end:https://imgur.com/a/zyjap4MWhat else could I do?
Thank you
April 14, 2022 at 5:58 pm #1348438Hi 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,
NikkoJuly 9, 2022 at 10:25 pm #1357817Hi,
you can close this now, thank you
July 9, 2022 at 10:46 pm #1357830Hi,
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 -
AuthorPosts
- The topic ‘image size magazine’ is closed to new replies.