Skip to content

Commit 0cb1158

Browse files
authored
Update README.md
1 parent 4faff23 commit 0cb1158

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
[![Total Downloads](https://img.shields.io/packagist/dt/solutionforest/filament-simplelightbox.svg?style=flat-square)](https://packagist.org/packages/solutionforest/filament-simplelightbox)
77

88

9-
10-
Does not rely on any third-party JavaScript libraries.
9+
Lightbox Javascript : [fslightbox](https://github.com/banthagroup/fslightbox "fslightbox")
10+
Pdf and Office previewer [information](https://gist.github.com/theel0ja/b9e44a961f892ccf43e217ab74b9417b "information")
1111

1212
## Installation
1313

@@ -24,10 +24,21 @@ Tables\Columns\ImageColumn::make('image')
2424
->simpleLightbox()
2525
```
2626

27+
```php
28+
Tables\Columns\TextColumn::make('pdf_url')
29+
->simpleLightbox("Your Url address"),
30+
```
31+
32+
## Preview
33+
2734

2835

29-
https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/67751495-cdd0-4999-a375-8636ae56b0eb
36+
https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/8bd7b59f-d18b-4f58-911f-822f10cb879b
3037

38+
![image_preview](https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/5360c521-1dba-4dd5-88df-cffae21f5b62)
39+
![url_preview](https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/698cc9f0-11ce-4106-832b-f58ce83a36e3)
40+
![docx_preview](https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/7891ad1e-a601-47b5-ac0f-ba0ba7b85554)
41+
![pptx_preview](https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/64cf6bae-d349-4e02-a6e1-a646abd5d508)
3142

3243

3344
## Testing

0 commit comments

Comments
 (0)