image - Changing thumbnail for Facebook previews in comments -


when posting link in comment on facebook post, there's small square thumbnail included in link preview. preview images rectangular , facebook selects how crop square link preview. i've noticed in images, there detectable person in image , crop taken around that. however, in other images content isn't entirely clear, crop taken centre of image, leaving image empty content on sides.

the crop seems done using parameters (sx sy sw sh), in facebook comment itself:

center crop:

https://external-lht6-1.xx.fbcdn.net/safe_image.php?d=aqdvaaoputb_vkro&w=90&h=90&url=...&cfs=1&upscale=1&_nc_hash=... 

right crop:

https://external-lht6-1.xx.fbcdn.net/safe_image.php?d=aqany2e3bpugveyx&w=90&h=90&url=...&cfs=1&upscale=1&sx=280&sy=0&sw=396&sh=396&_nc_hash=... 

is there way choose square crop parameter values link preview? can't see option debugging tools (https://developers.facebook.com/tools/debug/sharing/), , can't see options when posting link in facebook comment. perhaps there's way control using image alt tag? have not seen in facebook api might help. understand can change preview image square don't want take route unless have to.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -