-4

Possible Duplicate:
Website screenshots using PHP

Can someone tell me how to take a thumbnail off of a web page using php or js without any 'API' support? Otherwise convert HTML to PS and PS to jpeg is also possible. Thank you.

Community
  • 1
  • 1
ICE
  • 31
  • 1
  • 4

2 Answers2

0

Try Phantom JS. It can be used to render HTML from the commandline, using various output formats. Creating a thumbnail can be done by setting the zoom factor.

Marcus Riemer
  • 7,244
  • 8
  • 51
  • 76
0

WKHtmlToImage is able to render a webpage using webkit engine. You will have to launch an executable on server-side though.

Guillaume Poussel
  • 9,572
  • 2
  • 33
  • 42