Guillaume 3 anni fa
parent
commit
c774af3abe
2 ha cambiato i file con 14 aggiunte e 1 eliminazioni
  1. +12
    -0
      config/packages/liip_imagine/base.yaml
  2. +2
    -1
      src/Controller/Admin/PageCrudController.php

+ 12
- 0
config/packages/liip_imagine/base.yaml Vedi File

@@ -4,6 +4,12 @@ liip_imagine:
driver: "gd"
filter_sets:
cache: ~
thumbnail:
quality: 90
filters:
thumbnail:
size: [60]
mode: outbound
page:
quality: 90
filters:
@@ -16,3 +22,9 @@ liip_imagine:
thumbnail:
size: [ 600, 400 ]
mode: outbound
big:
quality: 90
filters:
thumbnail:
size: [ 1600 ]
mode: outbound

+ 2
- 1
src/Controller/Admin/PageCrudController.php Vedi File

@@ -11,6 +11,7 @@ use Lc\SovBundle\Controller\Admin\AbstractCrudController;
use Lc\SovBundle\Field\CKEditorField;
use Lc\SovBundle\Field\FileManagerField;
use Lc\SovBundle\Field\GalleryManagerField;
use Lc\SovBundle\Field\ImageManagerField;
use Lc\SovBundle\Field\StatusField;

class PageCrudController extends AbstractCrudController
@@ -25,7 +26,7 @@ class PageCrudController extends AbstractCrudController
return [
TextField::new('title'),
CKEditorField::new('description'),
FileManagerField::new('image'),
ImageManagerField::new('image'),
StatusField::new('status'),
GalleryManagerField::new('gallery'),
TextField::new('devAlias'),

Loading…
Annulla
Salva