Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Картинка не выводится #93

Open
KirDontsov opened this issue Aug 12, 2019 · 2 comments
Open

Картинка не выводится #93

KirDontsov opened this issue Aug 12, 2019 · 2 comments

Comments

@KirDontsov
Copy link

картинка не выводится через обновление коста/рика, нужно заменить функцию в 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;
}
@Box777-k
Copy link

Да тоже столкнулся с проблемой при обновлении до последней версии.
Изменение в коде - помогло.
Спасибо.

@timba64
Copy link

timba64 commented Jan 22, 2020

Have the same problem!
Changes - make good!
Many Thanks @KirDontsov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants