Their is no database yet on chevereto 2.0.
An database will be available in 2.1.
As for your mod, It is pretty simple to do, but unfortunately, right now I don't have the time...
And if anybody else take this request, you should indicate how many days have passed since the last view for you to define an image as inactive...