diff --git a/frontend/views/blog/_article.php b/frontend/views/blog/_article.php index 5099f6b..14ae0d2 100755 --- a/frontend/views/blog/_article.php +++ b/frontend/views/blog/_article.php @@ -14,15 +14,11 @@ - image->lang->attributes['alt']))?$model->image->lang->attributes['alt']:''; - $description=(isset($model->image->lang->attributes['description']))?$model->image->lang->attributes['description']:''; - ?> =ImageHelper::set(($model->image) ? $model->image->getPath() : null) ->cropResize(360, 240) ->quality(84) - ->renderImage(['alt'=>$alt,'description'=>$description])?> + ->renderImage(['alt'=>$model->language->attributes['title'],'title'=>$model->language->attributes['title']])?>