add more picture-thumbs sizes

Posted in: Newspaper
Post count: 49

Hi,

I’ve got the request from the magazine authors, and the page owner – to make available more picture thumb sizes.

That is because when someone shares the posts, it shows the wrongly cropped/cutted/chopped off picture or not the proper one.

Share on fb — “head cut off” –
https://www.1000wordsmagazine.com/wp-content/uploads/2018/02/wrong-cutting.jpg
Same on Google Plus —
https://www.1000wordsmagazine.com/wp-content/uploads/2018/02/wrong-cropping-share-gplus.jpg
Pinterest would acceptable, however can be better if used the proper sizes, which is 800×1600

So, I would ask: how to make it available create more sizes for all media – of course after need the thumbs-regeneration.

600×600
600×315
960×960
800×1600

and – tell to wordpress to give the right picture to the sharing-engine no matter which installed and used ( tagdiv, shareaholic, addthis, socioboards, oneall, custom made, etc, etc )

I tried to saerch after read this post: https://premium.wpmudev.org/blog/adding-custom-images-sizes-wordpress/

But, no luck.

Thanks, Zoltan

Post count: 20688

Hi,

Facebook will use the post featured image when sharing a post, given you have installed the Yoast SEO plugin
https://forum.tagdiv.com/facebook-share/
This would be the recommended plugin to use for SEO purposes. Only through it you can control and customize the post sharing. The theme does not have any settings in the matter. The plugin has options to set an image for each post if needed
https://yoast.com/social-media-optimization-with-yoast-seo/
https://kb.yoast.com/kb/why-doesnt-facebook-display-an-image/
Note the Facebook general requirements for images as well
https://developers.facebook.com/docs/sharing/best-practices/#images

Thanks

Post count: 49

Hi Simion.

I dont want use joost de walk’s plugin anymore – its unsupported, rubbish, causing lost of buggy crosslinks in the wp-database – and very hard to clean off from the database once you activated..

I use the much better plugin WPSSO.

But, my question still about : – how may I can set more sizes if using tagdiv newspaper theme?

If I put my requested sizes in the wp-settings – media sizes screen – it not makes any change, since tagdiv takes over the control of media sizes.
Also, same applies when I put directly the code into the function.php.

Which files I have to edit to add the xtra sizes?

add_image_size( ‘new-custom-size’, width, height, crop mode );

Thank you,

Zoltan

Post count: 20688

Hi,

The theme thumbnail sizes are defined in this file
https://www.screencast.com/t/A3wBGyFtCR
You can add more if that is what you want
https://forum.tagdiv.com/td_api_thumbadd/
Regenerate thumbnails after doing this, so the custom sizes will be created
https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/

Thanks

Post count: 49

Thank you, Simion –
I found a great plugin – and it makes the works well!

Even I can change with how tagdiv theme cropping the images 🙂

Simple Image Sizes
Add options in media setting page for images sizes

3.2.0 verzió | Szerző: Rahe |

Cheers, Zoltan

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