silverstripe-asset-admin icon indicating copy to clipboard operation
silverstripe-asset-admin copied to clipboard

Improve error messages for inserting local files which aren't images

Open clarkepaul opened this issue 7 years ago • 0 comments

When trying to insert .doc or .mp3 onto a page you get the message "Embed is only compatible with remote files", this is currently true but we can suggest they link to the file instead. Instead of showing this error message we should be able to detect the type of file that is selected and explain before they click the insert button that this file can't be inserted directly. We even hide them in the insert modal but that could be confusing not showing all files.

It would be good to allow inserting other media directly into a page sometime in the future but can understand it wouldn't be very high priority.

pasted_image_11_07_17__10_14_pm

clarkepaul avatar Jul 11 '17 10:07 clarkepaul