Use the Thumbalizr API to submit URLs to automatically get a thumbnail image of that URL's web page contents. The thumbnails in JPG or PNG are sized according to the pixel size parameter (width) that you specify. You can also download a script to cache images locally with PHP. Also, specify the quality of the thumbnail to return, whether you want a screen or a page captured, and numerous other options. There are many options for API use: free option with no API key needed but limited features, free API key option for more features, API key paid for even more features, and API key paid with the most features.