#76056
Suniko
Participant
Premium Member

So I made a small discovery today and maybe this will help some of you to fix your issues with featured image.

If you setup your ashe-grid-thumbnail on personalize tab Blog Page->General – Grid Thumbnail Crop Width and Height to for example 600×600 it will set resolution of your featured image in main blog page to 600×600.

HOWEVER inside the single post the featured image is getting dimensions from ashe-full-thumbnail script from functions.php. Now if you set it to be LESS then Grid Thumbnail Crop dimensions the AJAX Rebuild is failing to rebuild the single post featured image.

What fixed my issue was: go to appearance tab in main menu -> find theme code editor -> go to functions.php. and find this line of code:

// Custom Image Sizes

add_image_size(

‘ashe-slider-grid-thumbnail’,

ashe_options( ‘featured_slider_crop_width’ ),

ashe_options( ‘featured_slider_crop_height’ ),

true

);

add_image_size(

‘ashe-full-thumbnail’,

1140,

9999,

true

 

Change the dimensions of image to be 1 px larger than the value you set for the Ashe Grid Thumbnail Crop, save and then go again to AJAX Rebuild and rebuild all your featured image thumbnails.

For example: if your Ashe Grid Thumbnail is set to 600×600 make ashe-full-thumbnail 601×601

Hope that will help some people 🙂

Disclamer: Of course you have to know what you are doing with php scripts as if done incorrectly it might break your website even more.