How to re-size but NOT crop featured blog post images

Hi there -

I’m trying to figure out how I can make the featured images on the main page of my blog maintain the same aspect ratio as the original picture - right now they are being cropped, and for some reason, the smaller featured images toward the bottom aren’t even being cropped to the same size. I’ve tried the plug-ins and thumbnail refresh suggested in other threads, but nothing seems to work.

Any help would be much appreciated! My blog is: www.blog.wiseapplevintage.com
Thanks in advance!

Hi @wiseapple,

I hope you are well today and thank you for your question.

You can try achieving this by using the plugin solution posted in the following topic.

https://colorlibsupport.com/t/define-sizeformat-of-featured-image-on-home-page/#post-59419

Best Regards,
Movin

Thanks for your response! I’ve tried installing both the plug-in to alter the image size as well as the plug-in to refresh thumbnails, but the image sizes still look the same. The images are all cropped, and they are cropped to slightly different sizes. Any further advice is much appreciated!

Would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by checking the option “Set as private reply” when replying to this topic?

Yes, that would be fine and much appreciated - thank you!

My blog is at wordpress.com
login - wiseapple
password - Temp01234!

Let me know if you need anything - and thanks again!

I logged in to your site and changed the code in the colorlib custom plugin as following which made it to work.


function modify_slider_image_size(){
    add_image_size( 'activello-featured', 9999, 9999, true );
}
add_action( 'init', 'modify_slider_image_size', 10 );

Could you please check it and let me know how it is working for you?

Hi there -

Thank you for adjusting the code, but unfortunately, I am not seeing any changes to the image sizes on my end. I tried viewing it on a couple of different browsers and computers. Does it appear to be working for you? For me, all of the photos are still cropped, and they’re still being cropped to different sizes.

I’m attaching a couple of screen shots in case it looks different to me than it does to you.

It seems on your site the change i made is reverted to the old code again therefore it is not working.

I tried to log in to your site using shared credentials but it is not working for me.

Could you please make sure the shared credentials are working so that i can troubleshoot it on your site?

Hm, how strange - thanks for offering to look into it again. The password from above should be working now - Temp01234!

Thanks again!

I just regenerated thumbnails on your site using Regenerate Thumbnails plugin and it is displaying fine now as shown in the attached screenshot.

Oh, it looks wonderful! Thank you so very much for your help with this - I really appreciate it! :slight_smile:

You are most welcome here :slight_smile: