collects images from web cam and appends to a div