图片管理列表,psd、tiff 格式的图片预览时使用缩略图 #339
This commit is contained in:
@@ -67,7 +67,7 @@ class ImageController extends Controller
|
||||
}
|
||||
})->latest()->paginate(40);
|
||||
$images->getCollection()->each(function (Image $image) {
|
||||
$image->append('url', 'pathname');
|
||||
$image->append('url', 'pathname', 'thumb_url');
|
||||
$image->album?->setVisible(['name']);
|
||||
$image->group?->setVisible(['name']);
|
||||
$image->strategy?->setVisible(['name']);
|
||||
|
||||
Reference in New Issue
Block a user