skydiver/nova-cached-images
Composer 安装命令:
composer require skydiver/nova-cached-images
包简介
Laravel Nova field to display and cache remote images.
README 文档
README
Laravel Nova field to display (and cache) remote images
Installation
- run
composer require skydiver/nova-cached-images
Usage
- open your resource
- add
use Skydiver\NovaCachedImages\NovaCachedImages;in the top of your file - insert
NovaCachedImages::make("Avatar")in your fields method
Field options
NovaCachedImages::make("Avatar")
->class('image-class') // img tag class
->containerClass('image-container-class') // imgage container class
->width('50px') // image width
->height('50px') // image height
->radius('5px') // image border radius
Credits
- biigle/laravel-file-cache: Fetch and cache files from local filesystem, cloud storage or public webservers in Laravel or Lumen.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-01