Skip to content

Commit 60e6d43

Browse files
authored
Merge pull request symfony#14 from robfrawley/master
2 parents 1043324 + d332467 commit 60e6d43

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#liip_imagine:
2+
#
3+
# # valid drivers options include "gd" or "gmagick" or "imagick"
4+
# driver: "gd"
5+
#
6+
# # define your filter sets under this option
7+
# filter_sets:
8+
#
9+
# # an example thumbnail transformation definition
10+
# # https://symfony.com/doc/current/bundles/LiipImagineBundle/basic-usage.html#create-thumbnails
11+
# squared_thumbnail:
12+
#
13+
# # set your image quality defaults
14+
# jpeg_quality: 85
15+
# png_compression_level: 8
16+
#
17+
# # setup the filter steps to apply for this transformation
18+
# filters:
19+
#
20+
# # auto rotate the image using EXIF metadata
21+
# auto_rotate: ~
22+
#
23+
# # strip the image of all metadata
24+
# strip: ~
25+
#
26+
# # scale and square the image to the given dimensions
27+
# thumbnail:
28+
# size: [253, 253]
29+
# mode: outbound
30+
# allow_upscale: true
31+
#
32+
# # create border by placing image on larger black background
33+
# background:
34+
# size: [256, 256]
35+
# position: center
36+
# color: '#fff'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_liip_imagine:
2+
resource: "@LiipImagineBundle/Resources/config/routing.yaml"

liip/imagine-bundle/1.8/manifest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Liip\\ImagineBundle\\LiipImagineBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"etc/": "%ETC_DIR%/"
7+
}
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<bg=blue;fg=white> Getting started using </><bg=blue;fg=white;options=bold>liip/imagine-bundle</><bg=blue;fg=white> </>
2+
3+
<fg=blue;options=bold>Configure</> <fg=blue>your transformations:</>
4+
1. You <options=bold>MUST</> verify and uncomment the configuration in <comment>%ETC_DIR%/packages/imagine.yaml</>.
5+
2. You <options=bold>MAY</> configure your image transformation library (<comment>gmagick</>, <comment>imagick</>, or <comment>gd</> [default]).
6+
3. You <options=bold>MAY</> define custom transformation definitions under the <comment>filter_sets</> option.

0 commit comments

Comments
 (0)