├── soc.jpeg ├── README.md ├── save.php ├── js ├── jquery.plugin.html2canvas.js └── html2canvas.js └── index.php /soc.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kublaios/html2canvas-basic/HEAD/soc.jpeg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | html2canvas-basic 2 | ================= 3 | 4 | Basic usage for html2canvas library with Javascript and PHP. 5 | 6 | html2canvas official page: http://html2canvas.hertzen.com/ 7 | 8 | This sample implements how to use html2canvas for capturing a div and save it to server with PHP code. 9 | 10 | Documentation and live demo can be found here: http://www.kubilayerdogan.net/?p=304 -------------------------------------------------------------------------------- /save.php: -------------------------------------------------------------------------------- 1 | 11 |
| 15 | 16 | Click Here to See The Image Saved to Server 17 | | 18 |19 | 20 | Click Here to Go Back 21 | | 22 |
|
25 | 26 | 27 | 28 | Here is Client-sided image: 29 | 30 | 31 | '; 34 | ?> 35 | |
36 | |
13 |
|
25 | |||||||||||
| 28 | Div: 29 | | 30 |
31 |
32 |
87 |
|
88 | ||||||||||