Run shell scripts via cron on your raspberry pi to upload an image taken with a compatible webcam (using fswebcam) to your webserver every 3 minutes (or however often you'd like).
Note: Replace [email protected] in shell scripts with the appropriate user and host.