Multiple image props on SDC are not supported in Canvas
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3551102. -->
Reported by: [edwardsay](https://www.drupal.org/user/3514666)
Related to !239
>>>
<h3 id="overview">Overview</h3>
<p>When having multiple image props in a single SDC component, only the last uploaded image is actually saved. The same bug is also happening when using an array prop for multiple images.</p>
<p>Example of the props configuration:</p>
<pre>props:<br> type: object<br> properties:<br> image_desktop:<br> $ref: json-schema-definitions://canvas.module/image<br> type: object<br> title: Image Desktop<br> image_tablet:<br> $ref: json-schema-definitions://canvas.module/image<br> type: object<br> title: Image Tablet<br> image_mobile:<br> $ref: json-schema-definitions://canvas.module/image<br> type: object<br> title: Image Mobile</pre><p>
OR</p>
<pre>props:<br> type: object<br> properties:<br> images:<br> title: Images<br> type: array<br> items:<br> $ref: json-schema-definitions://canvas.module/image<br> type: object</pre>
> Related issue: [Issue #3546869](https://www.drupal.org/node/3546869)
> Related issue: [Issue #3551665](https://www.drupal.org/node/3551665)
issue