gnome-web-photo is an utility provided by gnome which is used to take screen-shot of website using terminal.
To install it in Ubuntu open terminal (Ctrl + Alt + t) and type the following command
$ sudo apt-get install gnome-web-photo
Lets see usage of gnome-web-photo
1. Take screen shot(photo) of any website, let's say youtube
$ gnome-web-photo --mode=photo --file http://youtube.com yt.png
Note: yt.png is the name of the screenshot file on your machine. You can save screenshot in any image format like .jpg , .png , .bmp etc.
2. Take screen shot(thumbnail) of any website, let's say youtube
$ gnome-web-photo --mode=thumbnail --file http://youtube.com yt.png