You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
# The LiipImagineBundle can be used if you want to convert on demand an image
|
|
# to a specific format. (ie a controller render the file)
|
|
# more information can be found here : https://github.com/liip/LiipImagineBundle
|
|
|
|
liip_imagine:
|
|
resolvers:
|
|
default:
|
|
web_path:
|
|
cache_prefix: '../var/cache/resource'
|
|
loaders:
|
|
resources:
|
|
filesystem:
|
|
data_root: '%kernel.root_dir%/../var/upload/resource2'
|
|
filter_sets:
|
|
# Chamilo filters
|
|
hotspot_question:
|
|
quality: 75
|
|
filters:
|
|
relative_resize: {widen: 800} # keep aspect ratio to width
|
|
# Sonata thumbnails
|
|
default_small:
|
|
quality: 75
|
|
filters:
|
|
thumbnail: {size: [100, 100], mode: outbound}
|
|
|
|
default_medium:
|
|
quality: 75
|
|
filters:
|
|
thumbnail: {size: [500, 200], mode: outbound}
|
|
|
|
default_big:
|
|
quality: 75
|
|
filters:
|
|
thumbnail: {size: [820, 70], mode: outbound}
|
|
|