zubrag.com
Free php and cpanel scripts to automate your daily routine

Free PHP Scripts :: Website Thumbnail Generator

Website Thumb Generator can be used to create website thumbnails for your needs, or start your own website thumbnail generation service.

Requirements:
  • Windows hosting
  • PHP GD library (installed on most hostings)
  • Permissions to execute third-party applications (i.e. exe files)
  • Permissions to execute Internet Explorer

How it works:
  • Website Thumbnail Generator checks if it already has website image in the cache, and shows it in the browser.
  • If no cached image then IECapt would be run from the script.
  • IECapt would run Internet Explorer, grab full sized website screenshot from it, and save image into the folder you specified in script settings.
  • Then Website Thumbnail Generator would resize image, and show it in the browser.

Installation:
  • Download IECapt from http://iecapt.sourceforge.net or from our site: IECapt. Place it in some folder on your server.
  • Download Website Thumbnail Generator using link below, and unzip it to the same folder.
  • Update webthumb.php with your settings for thumbnails folder, cache time, default thumbnail size, etc.

Sample usage:
  • webthumb.php?url=http://www.microsoft.com
  • webthumb.php?url=http://www.thumbnails.com&x=150&y=150

Download Website Thumbnail Generator


Comments

ibnuasad [anti-spam] gmail.com November 2, 2006
Will a Linux version be available?
November 3, 2006
thank you. nice script.
Antony November 8, 2006
Do you now where we can find for linux ?
Antony
Paul November 8, 2006
I'm also interested in the linux version. Thanks
Nick [anti-spam] phpld.de November 11, 2006
Have you but the linux version. Thanks
liulanzeng [anti-spam] 163.com November 12, 2006
Thanks! It's just what I want,thanks again!
vineuro November 21, 2006
I'm also interested in the linux version. Thanks
linux November 22, 2006
ofcourse there's no linux version, it's executing IE and IECapt. I guess if you have those running on linux then you'd have a linux version.
notquiteapound [anti-spam] hotmail.com December 5, 2006
seems to freeze on large images, i want this to loop through a list of sites but gets stuck on one and i presume its the images size?
coda [anti-spam] snlist.com December 12, 2006
If someone would make a unix/linux version of the iecapt.exe, I'd pay money for it. <hint>
2a December 27, 2006
Thank you very much! Just what I needed!
thomas [anti-spam] beetledomains.com.au January 8, 2007
Dose anyone know of a linux version?
January 10, 2007
Hi,
I want unix version, can someone make it for me.
Nikhil January 18, 2007
I need a linux version as well.

http://www.freshersindia.com
ecobob January 24, 2007
This looks fantastic zubrag - however, sadly I too need a linux version -if anyone know of such a script, please post a message.
website builder January 24, 2007
Guys they have some info about Linux screenshot takers on the forum http://www.zubrag.com/forum/index.php?topic=55.0
daif.net January 30, 2007
Linux
http://www.boutell.com/webthumb/
January 30, 2007
I am also interessted in a Linus port!
January 31, 2007
you´re the best
February 23, 2007
Causes too many errors on my windows box..
Looking to run it off line and cache all the files instead
February 25, 2007
The concept is simple. There are lot's of linux web browser code out there. Someone could recreate the same idea as iecapt using an opensource browser.

But, it won't be me. As it turns out, this is a great solution for me as it.
sarkaar [anti-spam] addontechnologies.net March 6, 2007
Any one know why I am not getting screen shots of web page i am supplying
webthumb.php?url=http://www.addontechnologies.net even it not giving any error but it not saving screenshot of this site I am using PHP.5 and on Wamp server is there any problem
Thanks in advance
Bhavesh March 7, 2007
gr8 script is there linus version with you ?
Linux April 5, 2007
Linux version please
April 13, 2007
thankyou, thanks, and thankyou again!
craig April 30, 2007
linux version required!

trying webthumb - fingers crossed........
rajivmk [anti-spam] mos.com.np May 10, 2007
how do i set permissions for

Permissions to execute third-party applications (i.e. exe files)
Permissions to execute Internet Explorer
bruederl [anti-spam] googlemail.com May 22, 2007
Thank you very much. I love your script. I have some additions:

if (isset($_REQUEST['url'])) {
$website_url = $_REQUEST['url'];
$website_url = trim($website_url);
if(strpos($website_url,"http://")===false)
$website_url = "http://".$website_url;
}

Because IECapt will hang if there is no http:// in front of the url.



$thumbnails_folder = strrev( strchr(strrev($_SERVER["SCRIPT_FILENAME"]),"/") )."cache/";

to be independent of installation location.
June 10, 2007
I can confirm that the webthumb tool from this site:
http://www.boutell.com/webthumb/
works very good.
princessaila [anti-spam] yahoo.com June 11, 2007
hello..i'm aila..i'm php beginner..my prob is now,i'd built website using tikiwiki and it jus could open by mozila..but the problem is i wanna make a link (ip camera) and open it with internet explorer(6.0 ++)..does any1 knows how to solve it??
raj9885509371 [anti-spam] yahoo.co.in July 13, 2007
happy
info [anti-spam] partyunited.de July 15, 2007
Can i limited the saved Screen Size to 400x400 ?

the Saved image iss great ,so great as the website....Sorry my english is very bad :-(

Pls help me..
admin [anti-spam] thumbnailspro.com July 29, 2007
The image proccessing automatically resizes the image based on requested size a request using &S=400 would display a thumbnails 400px in width and 300px in hieght! This is done to display a squared thumbnail, our premium service once complete which will be $10 a month will allow you to display full length thumbnails, http://thumbnailspro.com/examples.php, which would allow you to do 400x400!
Thanks for using thumbnailspro.com for all your website thumbnail needs!
Brandon, http://thumbnailspro.com.
M4verick.com August 3, 2007
I use windows version. Working very nice.
nj August 16, 2007
Cant seem to get this to work om my Winxp box. I have PHP5 installed, but it seems like IECapt cannot write to the directory that I have specified. I enabled scripts and executables in the virtual folder, I gave the cache folder full permissions for IUSR_ANONYMOUS, and everyone. if i pipe the command out to the screen and run the IEcapt in CMD window, then it will create the picture, and then the PHP script will show the thumbnail. Any ideas?
sagexl August 17, 2007
I get a IECapt.exe is not a valid Win32 Application.

Help!

Thanks,

Sagexl
September 9, 2007
Is there a hosting company that will support hosting IECapt.exe (a third party executable) as well as IE explorer?

September 12, 2007
can someone provide host providers that can host executables such as IECapt.exe and also have internet explorer so IECapt.exe can invoke it
philbluefox [anti-spam] yahoo.com September 14, 2007
I can't produce a thumbnails on dynamics site. Can anyone help me on this??

samples of the dynamic site url
http://www.sample.com/sample/sample1/sample.aspx?N=109+9228504&Ns=P_sampleName|1||P_sampleName&Nu=P
http://www.test.com/test.cfm/2507,-%20test%20test,XX

philbluefox
September 14, 2007
Can someone please help me with the installation? I seem to be lost.I've unzipped the Files into the same directory
but its all down hill from there. Can Someone tell me what do I have to do to get and actual thumbnail out of this whole script?
decent_emad [anti-spam] yahoo.com September 23, 2007
Hi, I have downloaded the latest version of file and the IECapt.exe as well. but it doest not work.
http://www.sahil24.org/web2thumb/thumb.php?url=http://www.microsoft.com


Error : Source file name must be specified.
admin.b1forever [anti-spam] gmail.com October 14, 2007
Thank you very muck!
Neena October 25, 2007
Great script! However, the output image is not resizing to the specified x and y. Any idea?
waqaskhaleeq [anti-spam] gmail.com November 12, 2007
hi i m using this script its really nice and its very easy to yse thanxx www.funrocker.com
November 19, 2007
this a great can we get a linux version .. I need it from www.cricketu.com .. this is a cricket website for cricket videos and news and I want to generate thumbnails for the video pages
www.cricketu.com November 19, 2007
i get this error :(
Fatal error: Call to undefined function ImageCreateTrueColor() in C:\wamp\www\image.class.php on line 131
Dana November 21, 2007
IECapt.exe doesnt seem to work, i need a lunis version, do you know where i can find one?
Rich December 12, 2007
Hello admin, do you mean the we need the window hosting or window operating system for the requirements?
Diego December 17, 2007
There's no need to be unpolite if you're not paying for a product ;)
developer [anti-spam] electricowl.co.uk January 11, 2008
Brilliant!
Who wouldn't want it on a Linux box but I think that the reference to the Boutell website should be a pointer in the right direction.

Cheers,
Ian
GH January 15, 2008
Than you very very much. Nice solution.
January 28, 2008
i tried/failed so many options for webpage capturing at my home server. I was so happy to find webthumb but xvfb does not start, it gives SecurityPolicy file not found error.. I was very close..
jo January 31, 2008
very good script its only missing one thing .... a q'ing image saying somethin like thumb is being processed"

All xp users might have better luck using the location like this:

@exec('./location/to/IECapt.exe' . escapeshellarg($website_url) . ' ' . escapeshellarg($cached_filename));

instead of:

@exec('c:/xampp/IECapt.exe' . escapeshellarg($website_url) . ' ' . escapeshellarg($cached_filename));


siwakorn February 1, 2008
thanks
Greg February 13, 2008
I could not set this up. I ended up using Snapcasa which also provides free web page snapshots. Their service offers several different thumbnail sizes and the snapshots always appear really fast without the “Thumbnail Queued” image I used to get from other similar services. I also like how there is no script need to use it just an img tag in my html. Best of all its on their server and I dont have to use my system resources.
snapcasa.com

Thanks for the script anyway!
March 2, 2008
THis is a great script however... if want to make a thumb it doesn't resize it... @_@ I tried alot but it doesn't work.. is just want a nice small thumb of 100x100...
web [anti-spam] camfilmi.gen.tr March 2, 2008
<a href="http://www.camfilmi.gen.tr">cam filmi</a> thanks for program.
Cuculetzu March 8, 2008
I like this script
http://www.cuculetzu.com
March 14, 2008
of course everyone woudl like one for linux since about 50% or more of the web servers are linux...
azoo [anti-spam] frac.dk March 21, 2008
Thumbnail Generation Error. Thumbnail not created

I get that when i try:
http://azoo.rymdraket.net/Test/snapshot/webthumb.php?url=http://www.boutell.com/

whats wrong? can someone please help me?

send a message to Azoo [at] frac.dk
bodrumlukardes [anti-spam] hotmail.com March 21, 2008
Thumbnail Generation Error. Thumbnail not created.
bvbb [anti-spam] gmail.com March 24, 2008
i want this
almas [anti-spam] dauditl.co.uk March 29, 2008
Hello,
.com based websites are ok. But when I put .org or .dk included url the thumbnail are not created. Does not show any error but loading..........

Please help me abt this.

Thanks in advance.
cowboy March 31, 2008
i can use this script at http://www.cowboywaysguys.org but i cant understand how do work
Zain April 2, 2008
hi i m using this script its really nice and its very easy to yse thanxx www.masti101.net
April 4, 2008
No point unless it's available for Linux.

No-one uses Windows hosting. It sucks.
April 4, 2008
Very usefull, thanks works on vista/xampp like a charm, take a look at the little modifications below in php-script. then IECAp won´t hang.
Once again, nice script
michael [anti-spam] limcorp.net April 4, 2008
thanks of the scripts.
April 7, 2008
Works great.
Is there a linux version?
www.TopRankBid.com
April 7, 2008
I like it.
www.wisereviewers.com
Octav April 7, 2008
Great script
www.webconnect.ro
Zoran April 12, 2008
I cant cut images to desired dimensions!!! it always create thumbs on default size. Please help!
April 20, 2008
For all the people that are having problems with it, you can now use if for free here on <a href="http://www.mythumbnail.net">MyThubmnail.net</a>
April 20, 2008
That's http://www.mythumbnail.net/
April 27, 2008
90% off all servers in the world run Unix. Strange there is no Unix/inux version.
April 28, 2008
Any news? for Linux?
www.TopRankBid.com
comcom April 30, 2008
Is there a realistic experience of operating a programme similar to Linux
Andrew April 30, 2008
All I get is this error
Thumbnail Generation Error. Thumbnail not created.

Add Comment

!!! Comments posted here will not be answered. If you want to ask a question please post it on the forum.

E-mail or Name: Not required. Email will be protected from spammers

Comment: Please do not post unrelated comments

Anti-spam: Please enter (2ce7e800) into the box