Is any possibility to create a thumbnail of the website in PHP ?
Regards,
YourOpenSource.Com
how can create website thumbnail in PHP ?
Moderator: General Moderators
-
youropensource
- Forum Commoner
- Posts: 26
- Joined: Tue Aug 05, 2008 11:42 am
Re: how can create website thumbnail in PHP ?
Possible, yes.
You have three options:
1) Write your own code to take HTML and render it on an image, not to mention handling images and CSS. You don't want to do that.
2) Develop OS-specific code to fire up an installed browser and take a screenshot. Difficult on Windows, easier on 'nix if it has the right stuff installed (eg, X11 and Gnome/KDE/etc, and a browser of course). Not fun.
3) Give the work to somebody else. Perhaps a PHP extension (that I've never heard of), an application, or a web service.
That last option is your best shot.
You have three options:
1) Write your own code to take HTML and render it on an image, not to mention handling images and CSS. You don't want to do that.
2) Develop OS-specific code to fire up an installed browser and take a screenshot. Difficult on Windows, easier on 'nix if it has the right stuff installed (eg, X11 and Gnome/KDE/etc, and a browser of course). Not fun.
3) Give the work to somebody else. Perhaps a PHP extension (that I've never heard of), an application, or a web service.
That last option is your best shot.
Re: how can create website thumbnail in PHP ?
Try class.upload http://www.verot.net/php_class_upload.htm by Colin Verot.
Re: how can create website thumbnail in PHP ?
That can't take screenshots of websites which is essentially what the original poster is asking for.omika wrote:Try class.upload http://www.verot.net/php_class_upload.htm by Colin Verot.
Re: how can create website thumbnail in PHP ?
My bad. Morningitis 
-
youropensource
- Forum Commoner
- Posts: 26
- Joined: Tue Aug 05, 2008 11:42 am
Re: how can create website thumbnail in PHP ?
I need to take a screenshots of the websites through online, how can I develop this ? Give me a idea's ? The 1 options that you gave, is very hard to take a screenshots of the websites.tasairis wrote:Possible, yes.
You have three options:
1) Write your own code to take HTML and render it on an image, not to mention handling images and CSS. You don't want to do that.
2) Develop OS-specific code to fire up an installed browser and take a screenshot. Difficult on Windows, easier on 'nix if it has the right stuff installed (eg, X11 and Gnome/KDE/etc, and a browser of course). Not fun.
3) Give the work to somebody else. Perhaps a PHP extension (that I've never heard of), an application, or a web service.
That last option is your best shot.