• I need help from anyone expert with wordpress function or know information about featured image.

    I want to resize or crop image are uploaded by featured images only or i want resize several image for thumbnail only

    EXAMPLE

    domain/wp-content/upload/image1.jpg
    domain/wp-content/upload/image1-200×200.jpg
    domain/wp-content/upload/image1-50×50.jpg
    domain/wp-content/upload/image2.jpg
    domain/wp-content/upload/image3.jpg

    Note: i dont want to resize more image in same post/article example image 2 , 3 ,4 , 5 ,6 and first image use for thumbnail.

    Thanks for yout attention

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cepplux

    (@cepplux)

    I use bellow code but all image are re-sized. it is not for featured image only.

    add_theme_support( 'post-thumbnails', array( 'post' ) );
    set_post_thumbnail_size( 50, 50, false);
    Thread Starter cepplux

    (@cepplux)

    are any plugin can help me ? to make thumbnail for choosen / spesific image

    By default, every image uploaded to WP will be cropped to these sizes:

    Thumbnail = 150px
    Medium = 300px
    Large = 1024px
    Full = original

    If the original is smaller than any size, it won’t be enlarged. You can not tell WP to not crop it, but you can change the sizes in Media Settings. So if you don’t want 300px, you could enter 150px there.

    For your question in particular, you are not required to set post thumbnail size to 50px. You can change the Thumbnail size in Media Settings from 150px to 50px. The other two default sizes, that you don’t want, you could also put in 50px.

    This will result in having 2 sizes for every image uploaded, original and 50px.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Resize Image from Uploaded featured image only’ is closed to new replies.