Anyone who spend 5 minutes on this document can start to use our API no matter which engineering background knowledge you have. Let us skip the heavy documents and go to samples directly.
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY'>Click this here to see the demo image
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY&p2i_device=0'>Click this here to see the demo image
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY&p2i_device=0&p2i_size=300x300'>Click this here to see the demo image
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY&p2i_device=6&p2i_size=200x200'>Click this here to see the demo image
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY&p2i_device=6&p2i_size=200x200&p2i_screen=1024x768'>Click this here to see the demo image
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY&p2i_device=6&p2i_size=200x200&p2i_screen=1024x768&p2i_fullpage=1'>Click this here to see the demo image
It is very helpful to test the tag. But it is not good idea to show it to your customer. So, if you want to us do not send the error information, please add p2i_display_error=0 in the url like this way:
<img src='http://api.page2images.com/directlink?p2i_url=http://www.google.com&p2i_key=YOUR_API_KEY& p2i_display_error=0 '>
In this case, we will send a blank picture instead of the error information pictures.
Using our Code Generator, you can quickly generate the source code for IMG Tags. Use page2images code generator for website screenshot.
Premium and XLarge rate plan users get free help with writing and testing code. Please contact us if you need help.