OK, essentially there are 2 parts:
The part that takes a pic every "however" long.
And the part that sticks it on the webpage.
Taking the pic:
Plug in your webcam.
In terminal, type "lsusb", check that the webcam shows up.
To take a pic, type the following:
streamer -f jpeg -o image.jpeg
If...