WordPress.org

Support

Support » Themes and Templates » [Resolved] [MH Magazine lite] Featured Images being cut off

[Resolved] [MH Magazine lite] Featured Images being cut off

  • Hello, I am really enjoying the MH Magazine theme so far but I have run into an issue with my featured images. I imported content from another WordPress blog and all of those images are scaling to fit the featured images spaces, or the space is adjusting so the whole image is shown.

    All of the new images I have uploaded though while using the theme are getting cut off on the top and the bottom and not displaying correctly. I know that there are sometimes fields that they have to fit in, but I don’t know why it is doing it for some of the images and not others.

    Help would be great, I’m not too sure how to resolve this. I would like to not have to edit all the images and have them scale like the imported ones have done.

Viewing 15 replies - 1 through 15 (of 24 total)
  • Theme Author MH Themes

    @mh-themes

    Hi magisynapse,

    thanks for downloading the theme.

    If you upload new images, the theme will handle these by itself.

    All of the new images I have uploaded though while using the theme are getting cut off on the top and the bottom and not displaying correctly. I know that there are sometimes fields that they have to fit in, but I don’t know why it is doing it for some of the images and not others.

    => The theme does sometimes crop your images, if they not have the correct image ratio for the specific image location, like featured image, blog view or custom posts widget.

    To scale your “old” images, please install and run this plugin once:

    http://wordpress.org/plugins/regenerate-thumbnails/

    Regards
    Michael

    What are the requirements for aspect ratio for the theme?

    The reason I ask is that all of the transferred images have a variety of different aspect ratios and sizes and they are all displaying perfectly, while the ‘new’ images are being cut off.

    This page {http://www.robot-ronin.com/category/comics-animation/page/2/}is a good example of the issue I am having. The Optical Nerve post featured image was uploaded today while the other posts’ featured images were transferred over.

    The images are displaying very differently, if you click on the different posts you can see the differences in how they are displaying.

    Thank you for helping πŸ˜€

    Theme Author MH Themes

    @mh-themes

    You can just check the image sizes (right click on an image, and then “Information” or something similar, depends on your browser) to calculate the ratio.

    e.g.

    Custom Posts Widget = 70 x 53 px = 4:3
    Archives = 174 x 131 px = 4:3
    Featured Image on posts & Slider = 620 x 264 px = 1:2.35

    Theme Author MH Themes

    @mh-themes

    This page {http://www.robot-ronin.com/category/comics-animation/page/2/}is a good example of the issue I am having.

    This has nothing to do when the images are uploaded, in this case the image sizes just don’t fit. He uses images as featured image (e.g. for “Monsters University Review”) with a size of 88 x 131 px.

    As posted before, the minimum image size for archives is 174 x 131 px, so this can’t work. You have to use at least this size to display the image correct.

    The best way would be if you always use mininum the size of the slider (so 620 x 264 px), all other images will be generated automatically.

    Edit: or just use 4:3 ratio with a minimum width of 620px. Slider and featured images will be cropped and archives / images in custom posts widget will be shown 1:1.

    Regards
    Michael

    Thank you for your responses, I did a test post with the image size of 620×264 and it is displaying great in both the slider and at the top of the post, but in the archives/custom posts sections it is cutting off the sides of the image.

    The post ‘Tiny Tina’s Assault on Dragon Keep Review’ on the following link[http://www.robot-ronin.com/category/games/] has a featured image size of 960 Γ— 540 without anything being cut off on either the top of the post or the archive page or the custom posts widget, so I am not sure where the issue is between the two posts. Why one is scaling to all the different locations and the other is not?

    Theme Author MH Themes

    @mh-themes

    Yes, of course it cuts off / crops, the slider has an image ratio of 1:2.35 and archives of 4:3, how do you want to display the images without cutting off? πŸ˜‰

    If you want the images in the slider be cut off on top and bottom, just upload 4:3 image ratio with a mininum width of 620px. If you do it like this, the archives won’t be cut off. But you have to make a choice….

    The post ‘Tiny Tina’s Assault on Dragon Keep Review’ on the following link[http://www.robot-ronin.com/category/games/] has a featured image size of 960 Γ— 540 without anything being cut off….

    => Because this are “old” images before the theme switch and the webmaster did not yet run the “Regenerate Thumbnails” plugin.

    Ok thank you very much, I think that is the info I needed. Sorry for all the questions I am still getting used to the new theme and all of it’s intricacies. You guys have made a great theme and I have been really enjoying all of the unique widgets.

    Thanks for all your help! πŸ˜€

    Theme Author MH Themes

    @mh-themes

    You’re welcome! πŸ™‚

    If you like the widgets and the features, you may have a look at the premium version of the theme. It has a lot more stuff and widgets on board and especially the “MH Custom Posts” widget is more powerful and flexible.

    Here’s an overview: http://www.mhthemes.com/themes/mh/magazine/
    Here you can see the options of the premium version: http://www.mhthemes.com/theme-options/

    I wish you a nice day.

    Regards
    Michael

    I bought the premium I guess; as I paid $55 for it and I cannot get all of the images to upload as they should.

    I have tried to crop the thumbnail; sometimes it works and sometimes it does not. For instance right now; on the post of http://thewomanspost.com/home-organization/ it is not only showing the thumbnail but the full image up above.

    I am old; lol and have tried everything to make it work before posting here. I think I am missing something important. Is it simple? If it is; please tell me how not to get 2 images on one post/page; slider.

    Thank you in advance.

    Theme Author MH Themes

    @mh-themes

    Hi ltodd,

    thanks for purchasing – but please be aware that we can’t help you here regarding the premium version. This forum is for MH Magazine lite and many of the features in the premium version are not available in the lite version of the theme, so it might confuse users of MH Magazine lite.

    Please use our support forum instead: http://www.mhthemes.com/support/

    But anyway, if you set a featured image for a post, it will be displayed automatically at the beginning of a post. You can disable featured images on posts from your WordPress dashboard at “Appearance => Customize => Posts/Pages Options”.

    If you have further questions, please use the support forum on our website – thanks. πŸ˜‰

    Kind regards
    Michael

    MH Themes, I have a problem that is driving me nuts. If you take a look at my home page at edmmr.com, all the images are square except for the top one, even though all the images are 200×200 jpegs. I can’t tell for the life of me why the top image is changing aspect ratio and the rest are not. Any help is fully appreciated. And I love the theme.

    Theme Author MH Themes

    @mh-themes

    Hi scherubino,

    please regenerate your thumbnails: http://wordpress.org/plugins/regenerate-thumbnails/

    Kind regards
    Michael

    Thanks for the response Michael. The problem is, I want them all to be square. do you know where in the code to change that?

    -steve c

    Theme Author MH Themes

    @mh-themes

    Hello Steve,

    the image dimensions are specified in the file functions.php. If you want to change it, this should be helpful: http://codex.wordpress.org/Function_Reference/add_image_size

    add_image_size('loop', 174, 131, true);

    Please be aware that we can’t offer free support for theme customizations, as this is beyond theme support.

    Kind regards
    Michael

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Resolved] [MH Magazine lite] Featured Images being cut off’ is closed to new replies.