Load or select images as accepted values (for selection via images)

Why do it:

This procedure allows you to define which specific images users can select as a value for an advanced attribute (for example, to choose a color through its visual preview).

Procedure

1. Access the Advanced Attributes settings (usually in the plugin configuration section).

2. Create a new field or edit an existing field.

3. In the Field type field, select the Selection via images option.

4. Once this type is selected, the dedicated Accepted values field (contained in the selectimages-container block) will appear.

5. Click on the Accepted values field area to open the media library (managed by the image-picker system).

6. In the media library, you can upload new images or select those already present in the system.

7. Select all the images you want to offer as options for this attribute.

8. After selecting the images, close the media library. The selected images will now be saved as accepted values for the attribute.

9. Save the changes to the advanced attribute configuration.