Preview images generation/rescale problem
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!
Preview images generation/rescale problem
Hello, dear Aimeos team!
I installed the fresh version of Aimeos (2019.10) on Laravel 6.2. Everything seems to work well, but the only problem i have is a product preview images rescale.
I would like them to have a different size in my project, so i added next lines to my shop.php:
After that, i run php artisan aimeos:jobs media/scale, clear all the caches, but nothing happens to my preview images, they are still the same.
I also tried to rescale images during upload with:
My system is Fedora 30 (GD and Imagemagick are installed).
Would be grateful, if you clarify what am i doing wrong?
Thank you!
I installed the fresh version of Aimeos (2019.10) on Laravel 6.2. Everything seems to work well, but the only problem i have is a product preview images rescale.
I would like them to have a different size in my project, so i added next lines to my shop.php:
Code: Select all
'controller' => [
'common' => [
'media' => [
'standard' => [
'preview' => [
'maxwidth' => 50,
'maxheight' => 35,
'force-size' => false
],
],
],
],
],
I also tried to rescale images during upload with:
Code: Select all
'controller' => [
'common' => [
'media' => [
'standard' => [
[b]'files' [/b]=> [
'maxwidth' => 50,
'maxheight' => 35,
'force-size' => false
],
],
],
],
],
Would be grateful, if you clarify what am i doing wrong?
Thank you!
Re: Preview images generation/rescale problem
You have to use the new "previews" key: https://github.com/aimeos/aimeos-core/b ... hp#L31-L43
Is there any old documentation we forgot to update?
Is there any old documentation we forgot to update?
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
Re: Preview images generation/rescale problem
Hi! Thank you for reply! The way you provided works perfect.aimeos wrote: ↑28 Oct 2019, 08:55 You have to use the new "previews" key: https://github.com/aimeos/aimeos-core/b ... hp#L31-L43
Is there any old documentation we forgot to update?
I used this particle to work with thumbnails before - https://aimeos.org/docs/Configuration/C ... mmon/media There are some settings, which didn`t work for me, among others.
Many thanks! Great team and great system!