From 9c6582a82b07b1c4c0d1caf2c0d8d2d78b2bbeae Mon Sep 17 00:00:00 2001 From: jmsche Date: Thu, 2 Jun 2022 10:59:21 +0200 Subject: [PATCH] leapt/im-bundle: import PHP routing instead of YAML (#1411) --- leapt/im-bundle/4.1/config/packages/leapt_im.yaml | 7 +++++++ leapt/im-bundle/4.1/config/routes/leapt_im.yaml | 2 ++ leapt/im-bundle/4.1/manifest.json | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 leapt/im-bundle/4.1/config/packages/leapt_im.yaml create mode 100644 leapt/im-bundle/4.1/config/routes/leapt_im.yaml create mode 100644 leapt/im-bundle/4.1/manifest.json diff --git a/leapt/im-bundle/4.1/config/packages/leapt_im.yaml b/leapt/im-bundle/4.1/config/packages/leapt_im.yaml new file mode 100644 index 00000000..a3b17df2 --- /dev/null +++ b/leapt/im-bundle/4.1/config/packages/leapt_im.yaml @@ -0,0 +1,7 @@ +# Read the documentation: https://github.com/leapt/im-bundle/blob/master/docs/configuration.rst +leapt_im: + cache_path: cache/im + formats: + # Resize to fit in 100x100, only if bigger, and remove all crap (meta-data, ...) + medium: + thumbnail: 100x100> diff --git a/leapt/im-bundle/4.1/config/routes/leapt_im.yaml b/leapt/im-bundle/4.1/config/routes/leapt_im.yaml new file mode 100644 index 00000000..1b6734e5 --- /dev/null +++ b/leapt/im-bundle/4.1/config/routes/leapt_im.yaml @@ -0,0 +1,2 @@ +leapt_im: + resource: '@LeaptImBundle/Resources/config/routing.php' diff --git a/leapt/im-bundle/4.1/manifest.json b/leapt/im-bundle/4.1/manifest.json new file mode 100644 index 00000000..57be4a3e --- /dev/null +++ b/leapt/im-bundle/4.1/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Leapt\\ImBundle\\LeaptImBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "gitignore": [ + "/public/cache/" + ] +}