UniSharp / laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
https://unisharp.github.io/laravel-filemanager/
MIT License
2.08k stars 722 forks source link

Open Standalone in Bootstrap Modal instead of new tab/window? #709

Open TLC64 opened 6 years ago

TLC64 commented 6 years ago

I am trying to configure the standalone version to do the following, any advice would be much appreciated:

  1. Standalone button click -> Open Bootstrap Modal with filemanager UI inside
  2. In filemanager, upload photo as normal
  3. Click photo to add to standalone input and close this modal
  4. Return to standalone button with image thumbnail appended

Currently, I have tried adding the iframe of filemanager to the HTML of a modal and calling it with a data-toggle on the 'Standalone anchor' button. This works but once uploaded, clicking on an uploaded image simply redirects the browser directly to the image source URL.

Many thanks

Djurdjijan commented 5 years ago

I'm having the same problem! Can someone please help ?? Opening new window on mobile device is so bad...

streamtw commented 5 years ago

Haven't tried this feature before. I will let you know if I have any progress. I will mark this as as feature-request for now.