change path image
This commit is contained in:
@@ -36,7 +36,7 @@ class CaptureLogsGrid {
|
||||
|
||||
public static function image() {
|
||||
return function($model) {
|
||||
return Html::img("/BiFace/data/uploads/face/" . $model->image, [
|
||||
return Html::img("/data/uploads/face/" . $model->image, [
|
||||
"class" => "img-thumbnail",
|
||||
"style" => "width: 150px;height:150px;"
|
||||
]);
|
||||
@@ -56,7 +56,7 @@ class CaptureLogsGrid {
|
||||
"style" => "cursor: pointer;",
|
||||
"data" => [
|
||||
"id" => $model->id,
|
||||
"img" => "/BiFace/data/uploads/face/" . $model->image
|
||||
"img" => "/data/uploads/face/" . $model->image
|
||||
]
|
||||
];
|
||||
};
|
||||
|
||||
@@ -53,7 +53,7 @@ class ListManagementGrid {
|
||||
"data-id" => $model->id,
|
||||
"data-href" => Url::to(["/list-management/delete-feature"])
|
||||
]);
|
||||
$return[] = "<div class='feature-img'>" . Html::img("/BiFace/data/uploads/face/" . $value['url'], [
|
||||
$return[] = "<div class='feature-img'>" . Html::img("/data/uploads/face/" . $value['url'], [
|
||||
"class" => "img-thumbnail",
|
||||
"style" => "width: 100px;height:100px;"
|
||||
]) . $removeBtn . "</div>";
|
||||
|
||||
Reference in New Issue
Block a user