Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#7173 by jramirezgranada
07 Nov 2018, 18:20
Hi there;

I'm extending namespace Aimeos\Controller\Common\Media\Standard controller to add more images like a thumbnail using the original image.

The process is working good, but the new image is't good, it doesn't have a good proportion and it's pixeled.

Look the original image,

2018.11.07_13.16.30_shot.png
2018.11.07_13.16.30_shot.png (10.13 KiB) Viewed 6 times


And the scaled image

2018.11.07_13.18.47_shot.png
2018.11.07_13.18.47_shot.png (7.91 KiB) Viewed 6 times


is there a way to keep the resolution,

This is my configuration

Code: Select all'common' => [
        'media' => [
            'name' => 'MyStandard',
            'standard' => [
                'thumbnail' => [
                    'maxwidth' => 60,
                    'maxheight' => 78
                ],
                'small_image' => [
                    'maxwidth' => 80,
                    'maxheight' => 104
                ],
                'options' => [
                    'image' => [
                        'name' => 'Imagick',
                        'quality' => 100
                    ]
                ]
            ]
        ]
    ]


Thanks