Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 586 | All time: 5,280 This week: 73 |
Version | License | PHP version | Categories | |||
webpagescreenshot 1.0 | Freeware | 4 | HTML, Graphics, Tools, AJAX |
Collaborate with this project | Author | |||
webpagescreenshot - github.com Description This class can be used to capture Web page screenshots using HTML2Canvas. Innovation Award
|
What is the best PHP print current page class?
Print an active styled page
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 (9) |
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 (9) | / | js | / | html2canvas |
File | Role | Description |
---|---|---|
html2canvas.js | Data | Jquery file |
jquery.plugin.html2canvas.js | Data | Jquery File |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
webpagescreenshot-2016-04-19.zip 256KB | |
webpagescreenshot-2016-04-19.tar.gz 259KB | |
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.