BUG: randomphoto - viewcount not incremented