diff --git a/liip/imagine-bundle/1.8/etc/packages/imagine.yaml b/liip/imagine-bundle/1.8/etc/packages/imagine.yaml new file mode 100644 index 0000000000..b104830130 --- /dev/null +++ b/liip/imagine-bundle/1.8/etc/packages/imagine.yaml @@ -0,0 +1,36 @@ +#liip_imagine: +# +# # valid drivers options include "gd" or "gmagick" or "imagick" +# driver: "gd" +# +# # define your filter sets under this option +# filter_sets: +# +# # an example thumbnail transformation definition +# # http://symfony.com/doc/current/bundles/LiipImagineBundle/basic-usage.html#create-thumbnails +# my_thumbnails: +# +# # set your image quality defaults +# jpeg_quality: 85 +# png_compression_level: 8 +# +# # setup the filter steps to apply for this transformation +# filters: +# +# # auto rotate the image using EXIF metadata +# auto_rotate: ~ +# +# # strip the image of all metadata +# strip: ~ +# +# # scale and square the image to the given dimentions +# thumbnail: +# size: [253, 253] +# mode: outbound +# allow_upscale: true +# +# # create border by placing image on larger black background +# background: +# size: [256, 256] +# position: center +# color: '#fff' diff --git a/liip/imagine-bundle/1.8/manifest.json b/liip/imagine-bundle/1.8/manifest.json new file mode 100644 index 0000000000..97cf312750 --- /dev/null +++ b/liip/imagine-bundle/1.8/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Liip\\ImagineBundle\\LiipImagineBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + }, + "copy-from-package": { + "Resources/config/routing.yaml": "%ETC_DIR%/routing/imagine.yaml" + }, + "version_aliases": ["2.0"] +} diff --git a/liip/imagine-bundle/1.8/post-install.txt b/liip/imagine-bundle/1.8/post-install.txt new file mode 100644 index 0000000000..ebcd13530e --- /dev/null +++ b/liip/imagine-bundle/1.8/post-install.txt @@ -0,0 +1,14 @@ + + What's next for Imagine Bundle? + + + * Configure your transformations: + - Verify and uncomment the config options in imagine.yaml + - You MUST specify the image manipulation library, one of gd, gmagick, or imagick + - You MAY specify additional transformation definitions under the filter_sets option + + * Use your transformations: + - Twig: {{ imagine_filter('my_thumbnails') }} + - PHP: $this->get('liip_imagine.cache.manager')->getBrowserPath('/relative/path/to/image.jpg', 'my_thumbnails'); + + * Read the documentation at https://symfony.com/doc/current/bundles/LiipImagineBundle \ No newline at end of file