Image Format WebP
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Image Format WebP
All uploaded images are converted to .webp for the preview now.
Can I deactivate it and use the source format instead like in previous versions?
EDIT:
Because the .webp preview image has empty space at the top and the bottom which destroys my layout.
Can I deactivate it and use the source format instead like in previous versions?
EDIT:
Because the .webp preview image has empty space at the top and the bottom which destroys my layout.
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Image Format WebP
Check and adapt your configuration for the generated images:
https://github.com/aimeos/aimeos-core/b ... hp#L46-L62
The sizes are enforced ("force-size=1") by default now and padded if the image doesn't exactly fit.
https://github.com/aimeos/aimeos-core/b ... hp#L46-L62
The sizes are enforced ("force-size=1") by default now and padded if the image doesn't exactly fit.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Image Format WebP
What does each of the 4 blocks stand for?
The first one is for the catalog list view I think?
The first one is for the catalog list view I think?
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Image Format WebP
Each of the blocks define a product image size for catalog list and detail view that is generated when uploading a new image.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Image Format WebP
I have re-uploaded and saved the image of an old product.
When converting to WebP, a piece of the right edge was cut off.
My settings are as follows.
When converting to WebP, a piece of the right edge was cut off.
My settings are as follows.
Code: Select all
return [
'common' => [
'media' => [
'product' => [
'previews' => [[
'maxwidth' => 600,
'maxheight' => 320,
'force-size' => 0,
], [
'maxwidth' => 480,
'maxheight' => 640,
'force-size' => 0,
], [
'maxwidth' => 960,
'maxheight' => 1280,
'force-size' => 0,
], [
'maxwidth' => 1920,
]],
],
],
],
];
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Image Format WebP
Can you check in the resize() method if there's something wrong?
https://github.com/aimeos/aimeos-core/b ... #L229-L249
https://github.com/aimeos/aimeos-core/b ... #L229-L249
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Image Format WebP
The function is not executed in my case.
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Image Format WebP
Is this method executed instead?
https://github.com/aimeos/aimeos-core/b ... #L253-L311
https://github.com/aimeos/aimeos-core/b ... #L253-L311
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Image Format WebP
Yes, the method is executed twice.
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Image Format WebP
Didn't know that GD supports WebP now.
You can either install the PHP Imagick extension or check in the resize() method if there's something that removes the border.
You can either install the PHP Imagick extension or check in the resize() method if there's something that removes the border.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
