title | issue | author | author_email |
---|---|---|---|
Upload and usage of spatial objects as media |
NEXT-29686 |
Viktor Buzyka |
- Added static method
getMimeType
toShopware\Core\Content\Media\File\FileInfoHelper
for more accurate detection of mime type - Added
Shopware\Core\Content\Media\MediaType\SpatialObjectType
to support spatial objects in media - Added
Shopware\Core\Content\Media\TypeDetector\SpatialObjectTypeDetector
- Added property
spatialObjectType
toShopware\Core\Content\Media\MediaEntity
to store spatial object configuration - Added property
config
toShopware\Core\Content\Media\MediaDefinition
- Added method
invalidateMedia
toShopware\Core\Framework\Adapter\Cache\CacheInvalidationSubscribe
to cache for products that use updated media objects
- Added
config
field tomedia
entity
- Added computed property
isSpatial
,getSpatialIconName
andgetSpatialSubline
tosw-media-base-item/index.js
- Added
placeHolderThumbnails
glb
andoctet-stream
tosw-media-preview-v2/index.js
- Added property
model
to propertyplaceHolderThumbnails
tosw-media-preview-v2/index.js
- Added property
arReady
to media component/sidebar/sw-media-quickinfo/index.js
- Changed detection
mimeType
forglb
-files inmedia.api.service.js
- Added
neutral-reversed
style variant forsw-label
component - Added props to detect if
sw-product-image
is spatial and/or 'ar ready'
- Added new plugin class
spatial-ar-viewer-plugin.ts
- Added new plugin class
spatial-base-viewer.plugin.ts
- Added new plugin class
spatial-gallery-slider-viewer.plugin.ts
- Added new plugin class
spatial-zoom-gallery-slider-viewer.plugin.ts
- Changed
cms-element-image-gallery.html.twig
to supportglb
-files in the slider - Added template
utilities/ar-overlay.html.twig
with blockaugmented_reality_overlay
to render AR overlay. - Added template
utilities/qr-code-modal.html.twig
with blockspatial_ar_qr_code_modal
to render modal with QR code for AR rendering on mobile devices.