Hi @Arnaud_Moncel
The fetching and reading of the images from the AWS S3 bucket and converting that image into base 64 image data takes some time and this time increases when the size of the file increases.
To avoid this can’t we display the images directly based upon the src URL in smart action form or can we prefill and pre select the images on File fields based on src URL directly?
The name, filetype and size not being displayed is a known bug.
The issue is that customers uploading files to S3 usually don’t set CORS headers to allow forestadmin to load them with an ajax request, and we can’t know the file type / size without that.
Actually, we have a pull request waiting to be merged to “solve it” by hiding the size, and guessing the filetype and name from the URL.
Hopefully it should be done tomorrow or the day after.
However, I see that the preview is broken on your screenshot, and it should work even without the fix.
But now problem is that it takes much time to display a large size image. Also, forest admin not displaying loader so that users can know they should wait for image load before clicking smart action form’s submit button.