Added support for finding all RDFa attributes in the page. then used this to display images.
Refactoring