Filters images on page and changes src attr if
reference is local