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
Is it possible to assign different image resizing settings to different image types (e.g. stage, lightbox, default)?
So far I found only some documentation about "previews" :
https://aimeos.org/docs/2020.x/config/c ... /#previews
1. What does "preview" mean exactly in this context? Is it a term related to responsive images (haven't heard/read about that ever)? Or does it describe the "domain" in the backend (the area where the images is previews for the respective product)?
I doubt the latter, simply because there are similar named function in the media templates/sections:
Example: "media-standard" partial:
2. How and where can I configure scaling formats for other image domains? (TypoScript? ...)
Thank you!
So far I found only some documentation about "previews" :
https://aimeos.org/docs/2020.x/config/c ... /#previews
1. What does "preview" mean exactly in this context? Is it a term related to responsive images (haven't heard/read about that ever)? Or does it describe the "domain" in the backend (the area where the images is previews for the respective product)?
I doubt the latter, simply because there are similar named function in the media templates/sections:
Example: "media-standard" partial:
Code: Select all
<?php foreach( $item->getRefItems( 'media' ) as $item ) : ?>
<img
src="<?= $enc->attr( $this->content( $item->getPreview() ) ); ?>"
title="<?= $enc->attr( $item->getName() ); ?>" <?= $itemattr; ?>
/>
<?php endforeach; ?>
2. How and where can I configure scaling formats for other image domains? (TypoScript? ...)
Thank you!
Re: Responsive Images
"Files" are the original images, "previews" are the generated images from the original file in different sizes.
It wasn't possible up to now to define different preview image sizes for different domains and types. This feature has been implemented now and is available if you execute:
Code: Select all
composer req aimeos/aimeos-core:2020.10.x-dev aimeos/ai-admin-jqadm:2020.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
