articles: added title attr to photo
reconfigure sample usage to building in a separate dir