Browse Source

Divers

master
Guillaume 3 years ago
parent
commit
c774af3abe
2 changed files with 14 additions and 1 deletions
  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 View File

driver: "gd" driver: "gd"
filter_sets: filter_sets:
cache: ~ cache: ~
thumbnail:
quality: 90
filters:
thumbnail:
size: [60]
mode: outbound
page: page:
quality: 90 quality: 90
filters: filters:
thumbnail: thumbnail:
size: [ 600, 400 ] size: [ 600, 400 ]
mode: outbound mode: outbound
big:
quality: 90
filters:
thumbnail:
size: [ 1600 ]
mode: outbound

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

use Lc\SovBundle\Field\CKEditorField; use Lc\SovBundle\Field\CKEditorField;
use Lc\SovBundle\Field\FileManagerField; use Lc\SovBundle\Field\FileManagerField;
use Lc\SovBundle\Field\GalleryManagerField; use Lc\SovBundle\Field\GalleryManagerField;
use Lc\SovBundle\Field\ImageManagerField;
use Lc\SovBundle\Field\StatusField; use Lc\SovBundle\Field\StatusField;


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

Loading…
Cancel
Save