mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 01:04:41 +02:00
Uploaded (non secure) attachments live now in public/
That way the attachment files can now be loaded much quicker (without invoking a controller). Also added thumbnailing for pictures in tables.
This commit is contained in:
parent
1b28006267
commit
4fe10b6169
21 changed files with 552 additions and 21 deletions
20
config/packages/liip_imagine.yaml
Normal file
20
config/packages/liip_imagine.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
# See dos how to configure the bundle: https://symfony.com/doc/current/bundles/LiipImagineBundle/basic-usage.html
|
||||
liip_imagine:
|
||||
# valid drivers options include "gd" or "gmagick" or "imagick"
|
||||
driver: "gd"
|
||||
|
||||
filter_sets:
|
||||
thumbnail_sm:
|
||||
quality: 70
|
||||
filters:
|
||||
thumbnail:
|
||||
size: [150, 150]
|
||||
mode: inset
|
||||
|
||||
thumbnail_md:
|
||||
quality: 75
|
||||
filters:
|
||||
filters:
|
||||
thumbnail:
|
||||
size: [300, 300]
|
||||
mode: inset
|
Loading…
Add table
Add a link
Reference in a new issue