__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
(function(){"use strict";/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */var o=!1,c=function(a,e){var t=document.createElement("canvas");a>=0&&a<45||a>=135&&a<225||a>=315&&a<=360?(t.width=e.naturalWidth,t.height=e.naturalHeight):(t.width=e.naturalHeight,t.height=e.naturalWidth);var n=t.getContext("2d");n.clearRect(0,0,t.width,t.height),n.translate(t.width/2,t.height/2),n.rotate(a*Math.PI/180),n.drawImage(e,-e.naturalWidth/2,-e.naturalHeight/2);var r=Joomla.MediaManager.Edit.original.extension.toLowerCase()==="jpg"?"jpeg":Joomla.MediaManager.Edit.original.extension.toLowerCase(),l=document.getElementById("jform_rotate_quality").value;Joomla.MediaManager.Edit.current.contents=t.toDataURL("image/"+r,l),e.width=t.width,e.height=t.height,e.src="",requestAnimationFrame(function(){return requestAnimationFrame(function(){e.src=Joomla.MediaManager.Edit.current.contents})}),document.getElementById("jform_rotate_a").value=a,window.dispatchEvent(new Event("mediaManager.history.point")),t=null},u=function(a){o||(document.getElementById("jform_rotate_a").addEventListener("change",function(e){var t=e.target;c(parseInt(t.value,10),a),t.value=0,[].slice.call(document.querySelectorAll("#jform_rotate_distinct label")).forEach(function(n){n.classList.remove("active"),n.classList.remove("focus")})}),[].slice.call(document.querySelectorAll("#jform_rotate_distinct [type=radio]")).forEach(function(e){e.addEventListener("click",function(t){var n=t.target;c(parseInt(n.value,10),a),[].slice.call(document.querySelectorAll("#jform_rotate_distinct label")).forEach(function(r){r.classList.remove("active"),r.classList.remove("focus")})})}),o=!0)};window.addEventListener("media-manager-edit-init",function(){Joomla.MediaManager.Edit.plugins.rotate={Activate:function(a){return new Promise(function(e){u(a),e()})},Deactivate:function(){return new Promise(function(a){a()})}}},{once:!0})})();

Filemanager

Name Type Size Permission Actions
rotate-es5.js File 3.53 KB 0664
rotate-es5.min.js File 1.95 KB 0664
rotate-es5.min.js.gz File 867 B 0664
rotate.js File 3.14 KB 0664
rotate.min.js File 1.87 KB 0664
rotate.min.js.gz File 860 B 0664
Filemanager