Counting number of views on a image

Can anyone suggest me how to calculate the number of views on a
particular image (which stored in a blob at database)?

One obvious, but seemly ugly for some reason, answer is the add a
count field to the database, and everytime you show the image
increment that count. I guess it depends on what exactly you count as
a view.

On Jun 27, 2:38 pm, Nishi A. [email protected]

Thanks.That sounds convincing enough to me. I don’t know why, for some
reason it haven’t clicked to me before.