Hpricot Parser

Dear Friends,

In my html page i have image tags like below.

Using the hpricot parser like below i can able to get all the image tag
and its attributes.
<%@a = File.read("#{@file_path}")%>
<%@html = Hpricot.parse("#{@a}")%>
<[email protected]("//img").each do |element|%>

but now i want to get all the images which has “family” as a image
path.so i want to fetch only the below images

Is it possible to do so…
Thanks for your time
kindly support me.
Thanks in advance