Skip to content

Commit

Permalink
Added thumbnailUrl itemprop.
Browse files Browse the repository at this point in the history
  • Loading branch information
onpubcom committed Jan 11, 2015
1 parent bbffa66 commit 91a60fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/OnpubFrontend.php
Expand Up @@ -1164,7 +1164,7 @@ protected function article()

if ($this->currentArticle->imageID) {
$this->currentArticle->image->website = $this->website;
en('<img src="' . OnpubImages::getThumbURL('src=' . urlencode($this->currentArticle->image->getFullPath()) . '&w=400&f=png', $onpub_dir_phpthumb) . '" align="right" alt="' . $this->currentArticle->image->fileName . '" title="' . $this->currentArticle->image->description . '">');
en('<img src="' . OnpubImages::getThumbURL('src=' . urlencode($this->currentArticle->image->getFullPath()) . '&w=400&f=png', $onpub_dir_phpthumb) . '" align="right" alt="' . $this->currentArticle->image->fileName . '" title="' . $this->currentArticle->image->description . '" itemprop="thumbnailUrl">');
}

en('<div itemprop="articleBody">');
Expand Down

0 comments on commit 91a60fe

Please sign in to comment.