After 10th image, CDS media preview shows 2 images
Summary
When adding multiple images in a CDS media field, if adding more than 10 images, the preview breaks.
Steps to reproduce
- Create a node with CDS Media field
- Add more than 10 images
- Check the 11th+ images
Possible fixes
Most probably caused from the preview of the image in https://gitlab.cern.ch/web-team/drupal/public/d8/modules/cern-cds-media/-/blob/master/js/cern_cds_media.js
Edited by Konstantinos Platis