The GrabzIt PHP API provides the ability to take screenshots of mobile versions of websites, however not all websites have special mobile versions and so it may not work in all circumstances. Mobile screenshot can be requested for screenshots, converting HTML as well as when extracting tables.
To get a more authenticate mobile screenshot it is also a good idea to pass a standard mobile browser width to the
setBrowserWidth method of the GrabzItImageOptions class. Or if you are creating a PDF choose a smaller page size.
$options = new \GrabzIt\GrabzItImageOptions(); $options->setFormat("png"); $options->setBrowserWidth("320"); $options->setWidth("256"); $options->setHeight("256"); $options->setRequestAs(1); $grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); $grabzIt->URLToImage("https://www.tesla.com", $options); $grabzIt->Save("http://www.mysite.com/handler.php");