HF RL Explorer

NGDM Image Component: Support Named Smart Crop Renditions

NGDM Image Component: Support Named Smart Crop Renditions: a task in LegoFlow-SWE (Harbor dataset). The component must also support a SmartCrop:Auto mode. In this mode, the srcset attribute should contain multiple entries, each with a different smart crop rendition and its corresponding width…

The task

The component must also support a `SmartCrop:Auto` mode. In this mode, the srcset attribute should contain multiple entries, each with a different smart crop rendition and its corresponding width (e.g., `smartcrop=Large 800w, smartcrop=Medium 600w`). To achieve this, the component needs to fetch the remote asset's…

Part of Lego-X/LegoFlow-SWE.