php - Create a jquery ajax image organizer -


i want create button on imperavi's redactor, display uploaded files (only photos) in modal, uploaded, , allow user, organize photos, order order , organize them in folders, , create folders. , when user select photo, tag inserted in text field (redactor). rely want place begin, or existing solution, knowledge php big jquery , ajax small
don't want display computer folder, want display images int database sorry bad english. begin?

edit 1: manged add button

if (typeof redactorplugins === 'undefined') var redactorplugins = {};  redactorplugins.myplugin = {      init: function() {          this.addbtn('mymethod', 'add image', function(obj) {             obj.mymethod();         });      },      mymethod: function()     {         // callback (optional)         var callback = $.proxy(function()         {            return 1;          }, this);          var modal = string() +                     '<div id="redactor_modal_content">' +                         '<div class="modal-body">' +                             '<p>one fine body...</p>' +                         '</div>' +                         '<div id="redactor_modal_footer">' +                             '<a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close">close</a>' +                             '<a href="javascript:void(null);" class="redactor_modal_btn" id="redactor_upload_btn">save changes</a>' +                         '</div>' +                     '</div>';           // 500 width of window in pixels          // or call modal code         this.modalinit('<h3>modal header</h3>', modal, 500, callback);          // call modal element id #mymodal         //this.modalinit('<h3>modal header</h3>', '#mymodal', 500, callback);      } } 


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -