Shape 5

Wordpress Club Themes => Incline - Club => : maheshcha December 28, 2016, 04:26:33 AM



: Image size
: maheshcha December 28, 2016, 04:26:33 AM
Hi,
I am wondering how to change the size of the image that is uploaded into the WP.
I am trying to create a featured image with the dimension 1200x400 on the top every single blog post as in http://socialtours.com/etpdemo/village-trek-in-the-hills. But unable to re-size of the image using Regenerate Thumbnails plugin and altering media size in the settings.

Please help.

Many thanks in advance.


: Re: Image size
: Tristan Rineer December 29, 2016, 01:16:31 PM
From a little searching on Google, it appears that changing the image sizes in the settings isn't enough; the images need to be re-uploaded before WP will generate new ones. 


: Re: Image size
: maheshcha January 13, 2017, 12:59:52 AM
Hi Tristan,
I solved this problem by declaring
:
add_theme_support( 'post-thumbnails' );
in function.php file.
Adjusting image size in Setting>Media didn't work.

But I have a feeling that updating the theme in the future might update the code above?!

Thank you


: Re: Image size
: Tristan Rineer January 13, 2017, 03:34:52 PM
That code should already be included in the framework, but I'll double-check the code to make sure it's in future versions of the patch.