Pass extra parameter on image click ==================================== filemanager.js at line no 913 items.push({icon:'cursor.png',caption:fmContSettings[curCont].customAction.caption,exec:[fmContSettings[curCont].customAction.action,curCont,id,fmEntries[curCont][id].fullName,fmContSettings[curCont].customAction.param1,fmContSettings[curCont].customAction.param2]}); parser.js at line 936 action = this.parseAction({exec:[fmContSettings[json.cont].customAction.action,json.cont,item.id,fmEntries[json.cont][item.id].fullName,fmContSettings[json.cont].customAction.param1,fmContSettings[json.cont].customAction.param2]}); config.inc.php at line no 105 customAction = "{caption: 'Select This File', action: 'selectFilemanagerFile', param1: '', param2: ''}" Callback function function selectFilemanagerFile(containerId, fileId, fileName, extraParam1, extraParam2) { console.log(containerId, fileId, fileName, extraParam1, extraParam2); } Adjust width for Apanel ======================= js/filemanager.js ------------------ line no: 579 var fmLeftPos = ($('#fmCont1').offset().left)-40; line no: 583 var left = x ? x : this.mouseX - (width + 13) - fmLeftPos; line no: 591 var fmTopPos = ($('#fmCont1').offset().top)-10; line no: 595 var top = y ? y : (this.mouseY - 10) - fmTopPos; adding full screen handler at the top right of filemanager ============================================================ js/parser.js ------------ line no: 87 ----------- if(App.getRequestType() == 'ajax') { html += '\n'; } else { html += '\n'; } languages/lang_en.inc ---------------------- line no: 37 ----------- cmdFullScreen = Full Screen pending: add 'Full Screen' text to all languages files filemanager.js ---------------- line no: 1300-1313 ------------------ fullScreen: function(e, url, dialogId, text) { url.match(/fmContainer=(\w+)/); var curCont = RegExp.$1; var handler = $('#filemanager'); if(handler.hasClass('fm_full_screen_holder')) { $('#filemanager').removeClass('fm_full_screen_holder'); } else { $('#filemanager').addClass('fm_full_screen_holder'); } fmLib.isResized[curCont] = false; clearTimeout(fmLib.resizeTimeout); fmLib.resizeTimeout = setTimeout('fmLib.setFileManagerSize("' + curCont + '", true)', 1); }