You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes it hard to set the image depending on the theme with the PWA's multi-theme support.
Describe the desired solution.
Image source should be set in theme SCSS.
It should be possible to supply SVG images and have them automatically scale to their surrounding containers.
BONUS The text "NO IMAGE AVAILABLE" should be managed in a translation key and painted on top of the image when rendering, so it can be displayed in the current language.
and to add the localized text below it. So you have no image at all and there would be no problem with any theme based image reference.
If the text cannot be read due to a very small text size (e.g. minicart, cart, order details), the text should be left out and the image should be self explaining.
…ext (#625, #1296)
* remove/replace the PNG image with a self explaining SVG image without text
* separate handling for the not available image
* image mapper improvement for products without images + code cleanup
* set width and height attributes inside the SVG image file to prevent display issues (image and surrounding element collapses to 0)
* update migration documentation
BREAKING CHANGES: We removed the `not_available.png` image and replaced it with an SVG image (without text inside the image) and adjusted file references.
Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
Is your feature request related to a problem? If yes, please describe it.
Currently the image-not-found image (https://github.com/intershop/intershop-pwa/blob/develop/src/assets/img/not_available.png) is hard-coded in
ish-product-image
:intershop-pwa/src/app/shared/components/product/product-image/product-image.component.html
Line 15 in dca5385
This makes it hard to set the image depending on the theme with the PWA's multi-theme support.
Describe the desired solution.
Describe alternatives you've considered.
Provide additional context.
Additional images that are statically referenced:
AB#80392
The text was updated successfully, but these errors were encountered: