Assume I have a image .jpg file How do I know how many times this .jpg has been viewed day by day? Thanks
you can use an asp script for that. www.youraddress.com/yourimage.asp when users load yourimage.asp, you "internally" read your image by using ADODB procedures and redirect the binary data to your users. i am posting a sample code in asp, i wish this helps. Dim Stream: Set Stream = CreateObject("ADODB.Stream") Stream.Type = 1 'Binary Stream.Open Stream.LoadFromFile "c:\folder\image.jpg" '''' <----------put the full absolute path of your image here GetFileImage = Stream.Read Stream.Close <<<PUT YOUR COUNTER PROCEDURES HERE>>> response.binarywrite(GetFileImage ) ''' <----- we read the image, now we redirect it to the user's browser. *** Another trick is that, you can investigate your IIS server logs (xxx.log) etc.