Skip to content

Commit

Permalink
Resize image for widget fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
roma84 committed Mar 25, 2016
1 parent dc63f4c commit 084929b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Block/SubcategoriesList.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,13 @@ public function isSvg($filepath)
{
return $this->mime->getMimeType($filepath) == "image/svg+xml";
}
/**
* Fix for widget instance
*
* @return boolean
*/
public function getResizeImage()
{
return $this->configHelper->useImageResizeHelper();
}
}

0 comments on commit 084929b

Please sign in to comment.