SHARE
TWEET

Untitled

a guest May 24th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="form-group">
  2.         <label>Add Image</label>
  3.         <div class="input-group">
  4.            <span class="input-group-btn">
  5.              <a id="lfm" data-input="thumbnail" data-preview="holder" class="btn btn-primary">
  6.                <i class="fa fa-picture-o"></i> Choose
  7.              </a>
  8.            </span>
  9.            <input id="thumbnail" class="form-control" type="text" name="path">
  10.          </div>
  11.          <img id="holder" style="margin-top:15px;max-height:100px;">
  12.       </div>
  13.  
  14.  
  15.   <script>
  16.     {!!\File::get(base_path('vendor/unisharp/laravel-filemanager/public/js/lfm.js')) !!}
  17.   </script>
  18.   <script>
  19.     $('#lfm').filemanager('image');
  20.   </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top