9. March 2011 22:07by JP Hellemons
There is a nice jQuery plugin called imgpreview.
It’s from James Padolsey. He made it back in 2009 and you can read more about it on this page:
This is the demo page: http://james.padolsey.com/demos/imgPreview/full/
It’s really easy to use. Your HTML should look like:
5. March 2011 15:26by JP Hellemons
At the office we have a Conceptronic CnetCam2. I have configured this IP Webcam to log every x seconds to an FTP Server. But now I would like to view the taken snapshot images in my web-application. The webcam makes this directory structure:
So every day is a new folder and has the format of ‘hhMMss_x.jpg’ (h = hour, M = minutes, s = seconds, x= random?) So my Asp.Net web application has to connect through FTP to extract the latest jpg and display it. I have found this class on CodeProject for setting up an FTP connection. I have uploaded it to this blog as a mirror FtpClientCS.zip (6.62 kb) All credits for that class go to Howard Richards. So after I have added the C# class to the project I have made the following code. More...