Yesterday when searching for "javascript crop image aspect ratio" I noticed all the top hits were links to Stack Overflow.
Combining the page views of the first couple Stack Overflow links shown as Google results almost hit 100K. So I figure maybe if I write an article on cropping images with JavaScript to fit a certain aspect ratio it might just top the results? And offer a more straightforward solution for developers using that search query.
I wrote a quick 3 minute tutorial yesterday morning and posted it online mid afternoon. It outlines clearly how to crop images to fit a certain aspect ratio and the reader receives a nice ready to use code snippet and demo at the end.
Then I highlight the challenges awaiting the reader if they would want to extend this further and offer them Doka as a possible solution.
It's currently ranking #1 for those exact search terms 🎉
Now I'm not sure if this is temporary (because it's only been online for such a short while) or if it's permanent, but either way it should result in some very specific organic traffic.
You can find the article below: https://pqina.nl/blog/cropping-images-to-an-aspect-ratio-with-javascript/