• Resolved v0van

    (@v0van)


    EN:
    Blog Layout
    “Large Posts” – uses a 330x250px icon instead of a large image. the icon does not stretch to its full width. a big picture is needed here!
    “Post Lists” – the original large picture is used. picture, although it would be more logical 330x250px.
    “Post Grid” – the icon 330×250.png is used – everything is fine here!

    RU:
    Blog Layout
    “Large Posts” – используется иконка 330x250px вместо большой картинки. иконка не растягивается на всю ширину. здесь нужна большая картинка!
    “Post Lists” – используется оригинальная большая картинка. картинка, хотя логичнее было бы 330x250px.
    “Post Grid” – используется иконка 330×250.png – тут всё нормально!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ThemeZee

    (@themezee)

    I’m sorry but we won’t change image sizes with an update, since this would cause a lot of trouble for existing websites. You can change the defined images sizes with the Simple Image Sizes plugin if you want.

    Cheers,
    Thomas

    Thread Starter v0van

    (@v0van)

    It is clear that you will not change.

    I make so:
    template-tags.php

    function mercia_post_image_archives() {
    
            // Set image size.
            // $image_size = ( 'list' === mercia_get_option( 'blog_layout' ) ) ? 'mercia-ratio-four-three-large' : 'post-thumbnail';
            $image_size = "medium";
            if (mercia_get_option( 'blog_layout' === 'large')) $image_size = "medium_large";

    To define image size “medium” in adminarea not in functions.php
    add_image_size( 'mercia-ratio-four-three-large', 840, 630, true );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replace display of icons and pictures in “Large Posts” and “Post Lists”’ is closed to new replies.