image loop directive and now showing images linked to homes