Source
249 {
250 $html = false;
251 if ($this->ImagePath) {
252 $html = CloudinaryResource::getImgTag($this->ImagePath, [
253 'width' => 668,
254 'height' => 442,
255 'crop' => 'fill',
256 ]);
257 } elseif ($this->ImageID) {
258 $html = "<img src='/e-shop" . $this->Image()->CroppedImage(668, 442)->URL .
259 "' alt='" . $this->Image()->getTitle() . "'>";
260 }
261
262 return $html;
263 }
264
Trace
- ProductGroup->getDetailpageImageTag()
ViewableData.php:120
- ViewableData->__get(DetailpageImageTag)
ViewableData.php:468
- ViewableData->obj(DetailpageImageTag,,,1)
ViewableData.php:539
- ViewableData->XML_val(DetailpageImageTag,,1)
SSViewer.php:187
- SSViewer_Scope->__call(XML_val,Array)
SSViewer.php:650
- SSViewer_DataPresenter->__call(XML_val,Array)
.cache.themes.h.templates.Layout.ProductHolderPage_detail.ss:17
- include(/tmp/silverstripe-cache-home-ubuntu-holcim-shop-proto/www-data-php7.2.34-54+ubuntu20.04.1+deb.sury.org+1/.cache.themes.h.templates.Layout.ProductHolderPage_detail.ss)
SSViewer.php:1172
- SSViewer->includeGeneratedTemplate(/tmp/silverstripe-cache-home-ubuntu-holcim-shop-proto/www-data-php7.2.34-54+ubuntu20.04.1+deb.sury.org+1/.cache.themes.h.templates.Layout.ProductHolderPage_detail.ss,ViewableData_Customised,,Array,)
SSViewer.php:1234
- SSViewer->process(ViewableData_Customised,)
SSViewer.php:1230
- SSViewer->process(ViewableData_Customised,)
ViewableData.php:405
- ViewableData->renderWith(SSViewer)
ProductHolderPage_Controller.php:68
- ProductHolderPage_Controller->index(SS_HTTPRequest)
RequestHandler.php:296
- RequestHandler->handleAction(SS_HTTPRequest,index)
Controller.php:192
- Controller->handleAction(SS_HTTPRequest,index)
RequestHandler.php:208
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:151
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:174
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:154
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:154
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:154
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:383
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:147
- Director::direct(/fr/e-shop/produits/granulats/modero-3b,DataModel)
main.php:206