I need a script which can go in a couple of folders containing images (possibly thousands of images constantly updated) which track certain statistics like the number of direct image hits, which images have the most hits, which use the most bandwidth.
The image source path shouldn't be changed, so if it is:
[url removed, login to view]
The url would stay the same but some script would still track all the necessary info.
I'm not entirely sure if this will be possible using only a php script, it may require some program installed on the server. Its on a dedicated server, so that won't really be a problem.
Could it be done via Google Analytics? Please tell me if and how you would do it. I'm open to really any method that works effectively.