Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (9) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-04-19 (6 months ago) | Not enough user ratings | Total: 277 This week: 6 | All time: 7,180 This week: 167 |
Version | License | PHP version | Categories | |||
webpagescreenshot 1.0 | Freeware | 4 | HTML, Graphics, Utilities and Tools, A... |
Collaborate with this project | Author | |||
webpagescreenshot - github.com Description This class can be used to capture Web page screenshots using HTML2Canvas. Recommendations What is the best PHP print current page class? Innovation Award
|
Take Screenshot of Webpage or Particular Div Content Download WebPage or Particular area of the webpage as Image using jquery and PHP
Bharat Parmar
1.0
1) example.php : Example Script file
2) saveimage.php : This file will save the HTML Content in PNG Image Format.
3) downloadimage.php : This file will ask user to download the generated image.
4) screenshot : This directory will store temp image files.
1) PHP Version : 3.0 and above
1) HTML to Canvas : Script will read the HTML code of the given print area.
2) HTML2Canvas Plugin : This plugin will generate Canvas content into the base64 data url of the image.
3) saveimage.php : Jquery send the Canvas Image Data URL to php file which will created new png image file.
4) downloadimag.php : PHP file will ask User to download the image.
<button class='save-image' data-print-area='#print_div_2'>Capture Image1</button>
1) class : 'save-image' selectore will trigger the save image function.
2) attribute : 'data-print-area' will provide the printable area selector.
You can make your custom script to trigge the function as per you requirement. This script can be used to take screenshot of
the user on particular time interval.
Files |
File | Role | Description | ||
---|---|---|---|---|
js (1 file, 1 directory) | ||||
screenshot (1 file) | ||||
downloadimage.php | Aux. | This file will ask user to download the generated image | ||
example.php | Data | Example Script file | ||
img1.jpg | Icon | Test image file | ||
README.md | Doc. | Read me file | ||
saveimage.php | Class | This file will save the HTML Content in PNG Image Format |
Files | / | js | / | html2canvas |
File | Role | Description |
---|---|---|
html2canvas.js | Data | Jquery file |
jquery.plugin.html2canvas.js | Data | Jquery File |
webpagescreenshot-2016-04-19.zip 256KB | |
webpagescreenshot-2016-04-19.tar.gz 258KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.