You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
картинка не выводится через обновление коста/рика, нужно заменить функцию в costa-rico/../models/image на эту
public function getUrl($size = false){
$urlSize = ($size) ? '_'.$size : '';
$url = Url::toRoute([
'/'.$this->getModule()->id.'/images/image-by-item-and-alias',
'item' => $this->modelName.$this->itemId,
'dirtyAlias' => $this->urlAlias.$urlSize.'.'.$this->getExtension()
]);
return $url;
}
The text was updated successfully, but these errors were encountered:
картинка не выводится через обновление коста/рика, нужно заменить функцию в costa-rico/../models/image на эту
public function getUrl($size = false){
$urlSize = ($size) ? '_'.$size : '';
$url = Url::toRoute([
'/'.$this->getModule()->id.'/images/image-by-item-and-alias',
'item' => $this->modelName.$this->itemId,
'dirtyAlias' => $this->urlAlias.$urlSize.'.'.$this->getExtension()
]);
The text was updated successfully, but these errors were encountered: