Scale Image
Posted: 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,
And the scaled image
is there a way to keep the resolution,
This is my configuration
Thanks
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,
And the scaled image
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
]
]
]
]
]