Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5069 by chricken
22 Nov 2017, 13:25
Hi,
My shop is working now, regardless of some minor issues, which I'm gonna solve by myself.

But there is one big thing, that annoys me.
When I look at the listview, I can see the thumbnails of the products. Unfortunately, the used images are very big.
I am not sure, if they are original size, but I think so.
So I am wondering, why they are not recalculated to a smaller size, which seems very obvious.
Am I missing a setting or how do I do that?

Uploading smaller images is not an option, because then I have these tiny images in the product details.

Regards
Christian
#5071 by aimeos
22 Nov 2017, 22:11
You can scale the images on upload if you configure their maximum height and/or width. You would want this especially for the preview images:
https://aimeos.org/docs/Configuration/Core/controller/common/media

You can rescale existing images after modifying the configuration by running the "Rescale images" job from the Aimeos scheduler task
#5084 by chricken
24 Nov 2017, 08:49
Thank you for your answer,

I have now entered this configuration into setup-TS:

Code: Select allplugin.tx_aimeos.settings {
  controller.common.media.standard.files.maxwidth = 800
  controller.common.media.standard.preview.maxwidth = 240
}


After that, I have uploaded a complete new image for one product.
Cleared Cache in Typo3 and Aimeos.
It still has a big filesize. What may I have done wrong?
#5096 by aimeos
24 Nov 2017, 20:56
In TYPO3, configuration for frontend, backend and scheduler tasks have a different prefix resp. has to be added directly in the TS-Config field of the scheduler task.

Scale images in the admin backend:
Code: Select allmodule.tx_aimeos.settings {
  controller.common.media.standard.files.maxwidth = 800
  controller.common.media.standard.preview.maxwidth = 240
}


In the scheduler task for rescaling existing images:
Code: Select allcontroller.common.media.standard.files.maxwidth = 800
controller.common.media.standard.preview.maxwidth = 240


Please also have a look into the docs: https://aimeos.org/docs/TYPO3/Change_configuration
#5104 by chricken
25 Nov 2017, 14:11
Great, thank you :)

that did the trick for both, new images and existing ones (with the scheduler).