public function __construct(DrPublishDomElement $drPublishDomElement)
 {
     if (!class_exists('DrPublishApiClientImage', false)) {
         $dir = dirname(__FILE__);
         require $dir . '/DrPublishApiClientImage.php';
         require $dir . '/DrPublishApiClientPhotographer.php';
     }
     parent::__construct($drPublishDomElement->domElement);
 }
 public function __construct(DrPublishDomElement $drPublishDomElement)
 {
     parent::__construct($drPublishDomElement->domElement);
     $drPublishDomElementList = $drPublishDomElement->find("div.dp-article-image");
     $imageList = new DrPublishDomElementList();
     foreach ($drPublishDomElementList as $drPublishDomElement) {
         $drPublishApiClientArticleElement = new DrPublishApiClientArticleImageElement($drPublishDomElement);
         $imageList->add($drPublishApiClientArticleElement);
     }
     $this->dpImages = $imageList;
 }