Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
webplusmultimedia committed Apr 18, 2024
1 parent 0371444 commit 3758cea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

This package add a json field media for images/documents to filament V3.x and fluents api for front-end in Laravel to display photos and url link for documents ...
[![json-media.webp](https://i.postimg.cc/8Cn6Zttf/json-media.webp)](https://postimg.cc/wtLMvcK9)

V2.x Use now spatie/image package (^PHP 8.2 need)

## Installation

You can install the package via composer:
Expand All @@ -27,6 +30,9 @@ Optionally, you can publish the views using
```bash
php artisan vendor:publish --tag="gallery-json-media-views"
```
## Discord

Find it on [discord](https://discord.com/channels/883083792112300104/1220043851977199616)

## Usage
### Prepare your model
Expand Down
4 changes: 2 additions & 2 deletions config/gallery-json-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
'path' => 'storage/(.*)$',
'signing_key' => 'app.key',
'driver' => 'imagick', // gd or imagick
'quality' => 80,
'quality' => 70,
'thumbnails-crop-method' => null,
'thumbnails-saved-format' => null, // Manipulations::FORMAT_PNG / following formats are supported: FORMAT_JPG, FORMAT_PJPG, FORMAT_PNG, FORMAT_GIF, FORMAT_WEBP and FORMAT_TIFF
'thumbnails-saved-format' => [],

],
'form' => [
Expand Down

0 comments on commit 3758cea

Please sign in to comment.