42 parent::__construct($context,
$data);
50 $this->pageConfig->getTitle()->set($this->
getProduct()->getMetaTitle());
51 return parent::_prepareLayout();
59 return $this->_coreRegistry->registry(
'product');
67 return $this->
getProduct()->getMediaGalleryImages();
75 $imageId = $this->
getRequest()->getParam(
'image');
114 if (isset($size[0])) {
115 if ($size[0] > 600) {
137 if (
$image->getValueId() == $current->getValueId()) {
156 $currentFind =
false;
161 if (
$image->getValueId() == $current->getValueId()) {
175 return $this->
getUrl(
'*/*/*', [
'_current' =>
true,
'image' =>
$image->getValueId()]);
187 return $this->
getUrl(
'*/*/*', [
'_current' =>
true,
'image' =>
$image->getValueId()]);
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, array $data=[])
getUrl($route='', $params=[])