WordPress.org

Ready to get started?Download WordPress

Forums

Featured Image (8 posts)

  1. bck5WG
    Member
    Posted 1 year ago #

    Is there a way to change the size of featured images? My pictures are all vertical so I can't really use featured image because when I do, it just shows a small strip of the picture horizontally.

  2. blogjunkie
    Member
    Posted 1 year ago #

    hi bck5WG! What theme are you using? Sizes for featured images are defined at the theme level so you'll need to edit the theme code. What is the ideal width for your images? I assume that height should be variable. A link to your site would be helpful too. Thanks!

  3. bck5WG
    Member
    Posted 1 year ago #

    Thanks, can I e-mail the link?

  4. blogjunkie
    Member
    Posted 1 year ago #

    Unfortunately no, you can't private message other members through the forum...

  5. bck5WG
    Member
    Posted 1 year ago #

    Sigh, I thought so. The thing is, if I place a link, then the next day a link to this question shows up in search results for my site, and it's kind of embarassing for me.

    Anyway, yes, the height is variable. I use a lot of pictures because it is a cooking site. My theme is Paramitopia. Another problem is, I'm not a coder at all, so I'm scared to mess around with coding and stuff. Is there a setting in the dashboard somewhere that I can just use to fix this?

  6. blogjunkie
    Member
    Posted 1 year ago #

    Unfortunately no, there isn't an option to change the featured image height.

    I downloaded the theme and had a look at the code for you. You have 2 options:

    1. Don't use featured images. Just insert each image into your post. If you don't set a featured image you don't get the horizontal one at the top of the post.

    2. Modify your theme's functions.php file. Go into Appearance → Editor and edit the Theme Functions file. On line 99, you'll see this:

    add_image_size( 'extra-featured-image', 620, 200, true );

    Change it to this

    add_image_size( 'extra-featured-image', 620, 0, false );

    That will remove the height limit on featured images and not crop them. If you need more help than that I suggest hiring someone to customize your theme for you.

    I'm not sure if self-advertising is tolerated here (mods please let me know) you can engage my services at http://clickwp.com. All the best with your site!

  7. bck5WG
    Member
    Posted 1 year ago #

    Thanks for the response. blogjunkie. Really appreciate it.

    1. I have been just inserting images into each post without using a featured image. Problem is, I now want to start using Yet Another Related Posts plug-in. When I activated it, the thumbnails only had blank boxes with diagonal stripes on them. I was advised by the owner that I have to use a featured image for each post so that the thumbnails will show.

    2. Thank you so much for your help on this. I'll try and see if I can make the change.

    Thanks and regards!

  8. blogjunkie
    Member
    Posted 1 year ago #

    Your welcome. Another option is to turn off the thumbnail feature on the YARPP plugin :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.