HTML to JPG converter for PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
thisismyurl
Forum Newbie
Posts: 15
Joined: Wed Dec 03, 2008 8:00 am

HTML to JPG converter for PHP?

Post by thisismyurl »

Hi all, I need to find a way to convert HTML to a static graphic file for a web site that I'm working on. Ideally, I would call a function and it would return the graphic. Any ideas?

What I'm trying to do is allow users to make changes with a form and then submit the results and have a graphic returned. I'd like to use HTML and CSS to generate the graphic. I'm hosting in a Linux environment at http://www.bluehost.com/track/getawaygraphics/ and have access to the image functions.

--
Christopher
http://www.thisismyurl.com
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: HTML to JPG converter for PHP?

Post by panic! »

User avatar
thisismyurl
Forum Newbie
Posts: 15
Joined: Wed Dec 03, 2008 8:00 am

Re: HTML to JPG converter for PHP?

Post by thisismyurl »

Generating the thumbnail is not the problem / question, it's how to generate the original image in the first place but thanks, if any body know how to convert HTML to a JPG using PHP I would really appreciate some options.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: HTML to JPG converter for PHP?

Post by requinix »

thisismyurl wrote:Generating the thumbnail is not the problem / question, it's how to generate the original image in the first place but thanks, if any body know how to convert HTML to a JPG using PHP I would really appreciate some options.
Did you even bother looking? Did you see the word "thumbnail" and immediately assume you knew what all the results were about?

Result 1: Website Thumbnail Generator
IECapt would run Internet Explorer, grab full sized website screenshot from it, and save image into the folder you specified in script settings.
Result 2: website tools - Website Thumbnails
Our website thumbnail generator is - if you believe all the statements we receive - one of the best out there. This due the fact, that it allows any size of thumbnails, snap subpages ( not only the tld ), realtime preview ( depending on how long the page which is snapped takes to load ), loads of parameters to suit your needs, update option and a lightning fast preview when images have been created already.
Result 3: Free Website Thumbnail Generator Service
ShrinkTheWeb (STW) will allow any webmaster who wants to show website previews dynamically to do so using our free, powerful, and reliable service.
User avatar
thisismyurl
Forum Newbie
Posts: 15
Joined: Wed Dec 03, 2008 8:00 am

Re: HTML to JPG converter for PHP?

Post by thisismyurl »

Of course I took a look at the Google search results, I appreciated panic! assumed I was incapable of using Google. I need something that runs in a Linux environment and shows the result of a custom script, which rules out hosted solutions.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: HTML to JPG converter for PHP?

Post by panic! »

User avatar
thisismyurl
Forum Newbie
Posts: 15
Joined: Wed Dec 03, 2008 8:00 am

Re: HTML to JPG converter for PHP?

Post by thisismyurl »

Thanks panic, I also found HTML2PS early this morning, it's capable of converting from a web page to PS or PNG at http://freshmeat.net/projects/html2ps_php/. I really appreciate the alternative.
Post Reply