Image rating should be maximum of 100%.
Let's give Hits, Donwloads and Rating a part of that 100%
Hits = 50%
Downloads = 10%
Rating = + 40%
-----------------------------------------
Image average = 100%
Ok... Now let's get the value for Hits.
# of Hits of image with most Hits on the site = X
# of Hits from current image being rated = Y
X/100 * Y = Z
So "Z" is Value for Hits. But it's only 50% of total so...
Z/100 * 50 = Hits
Now for downloads we do the same thing.
# of downloads of image with the most downlodas = A
# of downloads from current image being rated = B
A/100 * B = C
So "C" is Value for downloads. But it's only 10% of total so...
Z/100 * 10 = Downloads
Now rating is already a percentage so let's just take that value... But it's only 40% of total value so...
Actual Value of rating/100 * 40 = Rating
So now adding all values from Hits, Downloads and Rating I think we should get a pretty good average.
The only problem we have now is just the Rating value. We should only add Rating for images with more than X votes...
Example,
If votes is higher than 10 then we use the formula above.
If votes is less than 10 then we just don't include rating.
Hits = 85%
Downloads = 15%
-----------------------------
Image average= 100%
Well I think this is a very simple ideia, just hope it's good enough to understand... Just simple math..
Cheers,
Albert Abrantes