diff --git a/app/views/admin/communication/unsplash/_selector.html.erb b/app/views/admin/communication/unsplash/_selector.html.erb index ef0e176354a5e59434ce146dc7ae74ec3ca6ab5a..293c22b26e64dc1135d85f135a6ebf2087ffc5ea 100644 --- a/app/views/admin/communication/unsplash/_selector.html.erb +++ b/app/views/admin/communication/unsplash/_selector.html.erb @@ -170,8 +170,10 @@ path = admin_communication_unsplash_path(website_id: nil, format: :json) if (!inputImage) { inputImage = document.createElement('img'); - inputImage.classList.add('img-fluid', 'img-thumb'); + inputImage.classList.add('img-fluid', 'img-thumbnail'); + inputImage.width = 1000; inputImageContainer.append(inputImage); + // Ajouter sdfi-deletable-file--with-file au parent .sdfi-deletable-file } if (inputImage) { inputImage.setAttribute('src', image.preview);