Center post thumbnails

Posted in: Newspaper
Post count: 2

Hi,
whenever I upload a new post thumbnail, it is cropped to all required formats, but always aligned to the top, not centered. It means that when the picture is a portrait of someone, I’ll only have the upper part of the picture, instead of having the center. Usually, centered crop is default on WordPress, but doesn’t seem to be working here. When I regenerate thumbnails with the plugin “Image Regenerate & Select Crop Settings”, it’s working again, but I can’t do it each time I publish a new post.
Thank you !
Elliot

Post count: 23312

Hello elliot,

Please notice that the theme uses another cropping system, namely center to top and not only center. If you want to change the structure of this cropping system, please notice that is not a simple task and is needed to do some additional customization through code that involves custom work.
To change the picture orientation most likely you will need a different cropping system. We use a WordPress function – add_image_size() – you can read about it here – https://codex.wordpress.org/Function_Reference/add_image_size – and here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!

Thank you for your understanding!

Post count: 2

Hello Catalin,

thank you for your answer. I am well aware of the add_image_size() function, but I couldn’t figure where it is defined in the theme. By the way, why would you want to force center to top cropping ?

Best,
Elliot

Post count: 23312

Hello elliot,

You have to check the td_config.php from our theme and you have to change the value from each thumb, like this -> http://screencast.com/t/NEHwe6r4 We have this type of cropping because this is the most useful one and our developers have decided to implement it in our theme. For more information about this, please check our documentation here -> https://forum.tagdiv.com/theme-thumbs/ After you have dome some modifications in this regard, you have to use Regenerate Thumbnail plugin for a good results.

Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.