Cropping images is a massive problem for social media. Here is a talk from 2013 by Christopher Chedeau a front end engineer at Facebook describing some of the problems with their image layout algorithms.[1]<p>Initially, they tried to solve the problem by getting users to tag people inside the image and then use location of the tags as parameters to crop. If someone is tagged in a photo, Facebook makes sure that person is always inside of the cropped version.<p>Here is the write up from Christopher&#x27;s blog.[2]<p>Was Instagram only using square images at one time? That would have been a brilliant way to have solved this problem.<p>1. <a href="http:&#x2F;&#x2F;blog.vjeux.com&#x2F;2014&#x2F;image&#x2F;image-layout-algorithms-html5devconf.html" rel="nofollow">http:&#x2F;&#x2F;blog.vjeux.com&#x2F;2014&#x2F;image&#x2F;image-layout-algorithms-htm...</a><p>2. <a href="http:&#x2F;&#x2F;blog.vjeux.com&#x2F;2012&#x2F;image&#x2F;best-cropping-position.html" rel="nofollow">http:&#x2F;&#x2F;blog.vjeux.com&#x2F;2012&#x2F;image&#x2F;best-cropping-position.html</a>