Scale Image
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 40
- Joined: 12 Jul 2018, 19:57
Scale Image
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
]
]
]
]
]
--
Jorge A Ramirez
System Engineer
PHP Developer
Jorge A Ramirez
System Engineer
PHP Developer
Re: Scale Image
The new Aimeos 2019.07 now contains code to generate responsive images automatically (sizes are configurable)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star