loevgaard/dandomain-image-bundle

Simple bundle to help assist in image creation and manipulation on the Dandomain webshop

v0.1.0 2017-06-23 10:59 UTC

This package is auto-updated.

Last update: 2021-05-06 01:51:34 UTC


README

GitHub license

Simple bundle to help assist in image creation and manipulation on the Dandomain webshop

Installation

Use Composer and install with

$ composer require loevgaard/dandomain-image-bundle

Then add the bundle in AppKernel:

<?php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Loevgaard\DandomainImageBundle\LoevgaardDandomainImageBundle(),
    );
}

In your config.yml, add the required settings. Use the same values as in your Dandomain admin.

loevgaard_dandomain_image:
    image_settings:
        product:
            width: 400
        related:
            width: 150
        thumbnail:
            width: 150
        popup:
            width: 800

Usage

TODO

Authors

Joachim Løvgaard - website: loevgaard.dk - twitter: @loevgaard