• Resolved David-G

    (@david-g-1)


    Right now I have to upload 2 of each image on my site

    https://www.thesixerscave.com

    One for the featured image on the slider and one for the post itself that is larger. If I use the larger image for the featured image, it cuts off the top and bottom on the slider and uses the center portion. Is there a way for the featured image to use the larger image from the top instead so I only have to upload a single image file?

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi David-G,

    thanks for using MH Magazine lite.

    The size for the featured image in slider and on posts is 620 x 264px. It seems you have disabled the featured image on posts and that’s why you need to upload a separate image for displaying inside the post content instead of just using the featured image.

    There is a plugin which you can use to select how the featured image will be cropped: Manual Image Crop.

    Thread Starter David-G

    (@david-g-1)

    I did disable the featured image on posts because I wanted to use lager images in the posts than the 620 x 264px.

    So I guess my question is is it possible to make the featured image larger? Or to make it so it only crops the bottom of the featured image instead of both the top and bottom when I use a larger image?

    In case you are familiar with coding, you could change the format of the thumbnails as you like. The code is located in the file functions.php. Here you can find more information: https://codex.www.ads-software.com/Function_Reference/add_image_size

    Thread Starter David-G

    (@david-g-1)

    Where in the functions.php would I add

    add_image_size( ‘custom-size’, 220, 220, array( ‘center’, ‘top’ ) ); // Hard crop left top

    Please have a look at the file functions.php and check the function mh_themes_setup(), you’ll notice the other image sizes there.

    Keep in mind that just adding that code isn’t enough, you’ll also need to modify other files depending on where you want to use that image size and also regenerate your thumbnails.

    In addition you should never edit the core theme files because these changes will be lost after every theme update. To customize theme files it is recommended to create a child theme first.

    Please also keep in mind that you are using a free theme without special support packages. We can’t provide free help with theme customizations, so please only modify the theme if you have experience with coding and/or try it locally first, otherwise there is a chance that you break your site.

    HI,

    I have question . how to remowe a featured image from all post ?

    Mh magazine – litle

    Thanks

    Hi milan88,

    this might be helpful: Duplicate images.

    Hi,
    Tanks to help, I reslove a problem

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Featured Image Question’ is closed to new replies.