sorry by "avatar" i meant "thumbnail" ... so for any image you save the exact pixel dimensions for example "1200x800" then your hash, then a THUMBNAIL and links to five instances of that image found online. if any image matches the hash you use that, if not then you use one that matches dimensions, if not then just the thumbnail etc ... or something like that ...