• Resolved dietesterin

    (@dietesterin)


    Hi, I have just switched within your theme from magazine to default style. Unfortuantely, the featured images do not have a uniform but different sizes which screws up the design. It is https://www.dietesterin.de.
    Would you please tell me the exact sizes I have to set for the featured image in “medium” and “large”? As I will have to resize the images one by one. I would love to use the large images, but if I switch to that mode, the site looks even worse than now. Thank you in advance for letting me know

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Richie KS

    (@rkcorp)

    the theme follow your setting in wp-admin->settings->media.

    Theme Author Richie KS

    (@rkcorp)

    hi do you still have problem with image?

    i see you’re using feat medium featured image, maybe try use thumbnail.

    or

    adjust the medium in settings->media and use ajax thumbnail rebuild to rebuild featured image size.

    Hi,

    I want to resize all featured images, and also automatically for author set size for featured images, to not manualy change size.

    I want to change all post thumb resize in 332×221 and also put some code for automatically resize for new added images to 332×221

    I put some code to function php :
    add_theme_support( ‘post-thumbnails’ );
    add_image_size( $name, $width, $height, $crop);
    set_post_thumbnail_size( 332, 221, true );
    add_image_size(‘Archive thumb’, 332, 221, true);
    add_image_size(‘thumb’, 332, 221, true);
    add_image_size(‘featured-slider-img’, 332, 221, true );
    add_image_size(‘feat_img’, 332, 221, true );

    in image.php
    I added in meta data
    $metadata[‘332’],
    $metadata[‘221t’],

    in content.php I added

    $thumb_w = get_option($feat_size.’332′);
    $thumb_h = get_option($feat_size.’221′);

    I also put custom.css code from admin :

    #post-entry div.post-thumb.in-archive {height: 221 !important;}

    But some images are not resizing into these sizes.
    How I can fix it ?

    Theme Author Richie KS

    (@rkcorp)

    you will need to edit the template featured image code to reflect your new image size. try add this to functions.php bottom before end ?>

    function meso_custom_thumb_size() {
    return 'thumb';
    }
    add_filter('meso_thumb_size','meso_custom_thumb_size');
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured Image Sizes’ is closed to new replies.