Responsive images
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!
Responsive images
Hello,
after upgrading to Aimeos 19.7.1, the product detail only shows the preview image, not the full image any more.
Also, the responsive image srcset contains a " 1w" which seems rather odd to me. Display the image only if the width of the browser is 1px?
Additionally, Aimeos now uses "getPreviews()". I am using the XML import. Can I use more than one media.preview inside mediaitem? In the backend, I do not find a way to provide more than one preview, either.
Is this preparation for a future version?
Claudia
after upgrading to Aimeos 19.7.1, the product detail only shows the preview image, not the full image any more.
Also, the responsive image srcset contains a " 1w" which seems rather odd to me. Display the image only if the width of the browser is 1px?
Additionally, Aimeos now uses "getPreviews()". I am using the XML import. Can I use more than one media.preview inside mediaitem? In the backend, I do not find a way to provide more than one preview, either.
Is this preparation for a future version?
Claudia
Re: Responsive images
Please run the media rescale job. The 1w in the source sets means that the width is not known and it will be used by the browser in all cases (because the required image is always greater than 1px.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Responsive images
I rather provide the images scaled already, because the results are better than the aimeos rescale().
Will the import be extended so that I can provide more than one preview image?
Will the import be extended so that I can provide more than one preview image?
Re: Responsive images
You can import your own preview images if you configure "media.previews" and use aimeos/ai-controller-jobs 2019.07.4:
https://aimeos.org/docs/Developers/Cont ... _CSV#Media
https://aimeos.org/docs/Developers/Cont ... _CSV#Media
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
