So, it’s back. It’s back and crapper than ever before.
Yes, now with reduced image quality (can’t be arsed to set up my nice Intel ProShare camera) the webcam is back: pyoor.deed.webcam. So…
If anyone can tell me how, in Javascript, to get the size of a file (ideally without fetching the bastard thing first) and store that size in a variable; that’d be a real help. Otherwise I may have to just leave it the way it is.
Which’d be a shame, ‘cos I’d like to bring back my idents into service.
If anyone’s feeling *really* enthusisatic what I want to write is a script which:
Stores the size of the last image: If it hasn’t changed when it goes to refresh the image then instead of sending the webcam image refreshes with random file from the locally stored idents.
The only thing I honestly don’t know how to do; and don’t even know if it’s possible is to read the size of the last image off the server. I’m presuming this could be done with a http request; but I don’t know enough about javascript; and my 20 minutes of fiddling (when I should’ve been working) haven’t lead me to a solution.