• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Featured Images not resized to widget specifications? Lifestyle Pro

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Featured Images not resized to widget specifications? Lifestyle Pro

This topic is: not resolved

Tagged: resize images consistent featured image widget thumbnail size sizing options

  • This topic has 2 replies, 1 voice, and was last updated 8 years, 4 months ago by reemalhashmi.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 22, 2014 at 3:29 am #132482
    reemalhashmi
    Member

    Hello again!

    I decided to repost this issue requesting a different take on it. I'm using the Lifestyle Pro theme and with it you are able to specify which blog post to display in each widget area (In my case, "Latest Post", "Random from the Blog!" etc.) and the post's featured image is displayed. One of the widget options is to choose the size of the thumbnails of the featured image of a post, from thumbnail, large or small. Now this is my problem, the images do not get resized. They are displayed either in their normal dimensions, or the size I chose, it does that on its own, whatever it feels like lol! I'm really lost, is there a code snippet I could insert to make the images get resized/displayed according to what I specify in the widget options? Supposedly that's what the theme is supposed to do, but it's not doing that and I don't know why! There might be a bug of some sort, I do not know!

    Please help me with this, it is much appreciated!

    http://www.reemalhashmi.com
    November 22, 2014 at 4:04 am #132483
    reemalhashmi
    Member

    Adding that I have also inserted this code snippet in my Functions.php file and still, they are not being resized:

    //* Add new featured image sizes
    add_image_size( 'home-middle', 634, 360, TRUE );
    add_image_size( 'home-top', 634, 360, TRUE );
    add_image_size( 'home-bottom-left', 266, 160, TRUE );
    add_image_size( 'home-bottom-right', 266, 160, TRUE );
    November 22, 2014 at 4:48 am #132485
    reemalhashmi
    Member

    Sorry about that, I got confused. My issue is not resizing the images, rather cropping them to be in the dimensions I desire. Heres what I mean, is there a way to have them cropped randomly according to the dimensions specified in my previous post for only the Home middle widget? For example, the widget is set to keep the featured images at 634 x 360 , but images that are bigger than that are displayed fully and not cropped into 634 x 360. Is there a way to have them randomly cropped into that dimension? If I manually crop the thumbnails for the post, then for the home bottom right/left, they will also be cropped if they're displayed randomly in that widget area, and I actually want them to be displayed fully.

    Here's an example:

    The thumbnail on the left (red image) is manually cropped to be "horizontal"-ish to fit the home-middle widget (which is 634 x 360), when displayed randomly on that home-middle widget, it looks perfectly fine. However, as with the case in the photo above, if its randomly displayed on the home-left widget area, it is cropped, when I would like it to be viewed as the original uncropped image, similar to the one beside it on the right.

    What I'm asking for is, can the image be automatically and randomly cropped for the home-middle widget instead of me having to manually crop it and 'distorting' it when it appears on other widget areas? It used to do that on it's own, but somehow now it displays the entire image unless I crop the thumbnail manually. So again, it's not an issue of resizing, rather it is about cropping the thumbnail to the specified dimensions only for the home-middle widget.

    Thanks in advance and sorry for my confusion!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble