Product pictures
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Product pictures
Hello,
when opening the details page of a product, the image is scaled down.
Thus, I am wondering whether it is possible to have the detail page either use the same image as the thumbnail uses which is in a decent size, or if there is some sort of setting for it?
typo3 11.5.10
php 8.12
aimeos 22.10.3
when opening the details page of a product, the image is scaled down.
Thus, I am wondering whether it is possible to have the detail page either use the same image as the thumbnail uses which is in a decent size, or if there is some sort of setting for it?
typo3 11.5.10
php 8.12
aimeos 22.10.3
- Attachments
-
- Screenshot 2022-12-07 110240.png (24.75 KiB) Viewed 6858 times
-
- NNO.png (53.84 KiB) Viewed 6858 times
Re: Product pictures
Seems like you've configured only very small preview images of 150px. You should configure several sizes which are then used by the browser depending on the viewport size:
https://github.com/aimeos/aimeos-core/b ... hp#L34-L62
https://github.com/aimeos/aimeos-core/b ... hp#L34-L62
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Product pictures
Unfortunately thats not the problem. I have the exact same config.
When uploading a picture its saved as webp and is scaled down.
If I use jpg pictures, they are shown normal.
When uploading a picture its saved as webp and is scaled down.
If I use jpg pictures, they are shown normal.
Re: Product pictures
Are your uploaded images big enough, i.e. have a size of at least 980x1280px?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Product pictures
On list page with
sizes="(min-width: 260px) 240px, 100vw"
something wrong in Chrome
https://laravel.demo.aimeos.org/shop/best-sellers~2
Chrome browser randomly loads the wrong size of image,
I think it is related to the resolution and the zoom percentage in Windows
3840x2160 225% zoom looks good
2880x1800 150% zoom load a poor quality photo
In my system it should be 480w, but sometimes 240w or 960w
sizes="(min-width: 260px) 240px, 100vw"
something wrong in Chrome
https://laravel.demo.aimeos.org/shop/best-sellers~2
Chrome browser randomly loads the wrong size of image,
I think it is related to the resolution and the zoom percentage in Windows
3840x2160 225% zoom looks good
2880x1800 150% zoom load a poor quality photo
In my system it should be 480w, but sometimes 240w or 960w
Re: Product pictures
Good question. Problem is that Chrome and all other browsers choose the image variant they want to use themselves. You can only give hints in the "sizes" attribute. Maybe you can test with different values in "sizes" to get better results. If you find a solution, please post it here.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
