What do you need?
It has non sense to convert to image something that is normally done by a browser...
Let me know
S_D
Main Topics
Browse All TopicsHi Experts,
How can I convert HTML source to image (Run-Time on Server) by PHP language ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This can be done but you'd most likely need your own server dedicated for it..
PHP can run commands in the command line..
so you can make a script that would take the input of a form which would tell it what page to use and which browser to open it under.
the php script would launch the browser with that page through command line, then call the screenshot utility and save it to a path accessible to the server and return a path.
There are other things out there such as http://khtml2png.sourcefor
I don't think making one from scratch would be too hard. You just have to find a screenshot utility which you can run from command line and time it a certain amount of time after the launch of the browser.
BrowsrCamp ( http://www.browsrcamp.com/
They are using the package at http://www.paulhammond.org
You cannot do this entirely with PHP, you would have to setup some programs on the server using one of these packages, and then use PHP to execute the commands via command line.
Business Accounts
Answer for Membership
by: fulscherPosted on 2006-09-12 at 06:02:55ID: 17502129
Converting HTML to an image implies rendering the HTML, a task which is usually done on the client side by the browser. Unless you find a way to encapsulate Mozilla into a php class, I don't think this can be done.
Sorry, Jan