| Server IP : 188.114.97.2 / Your IP : 104.23.197.230 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/nicolasj/www/propulseasbl.be/wp-content/plugins/meow-gallery/classes/ |
Upload File : |
<?php
/**
*
* FUNCTIONS THAT CAN BE USED BY THEMES/PLUGINS DEVELOPERS
* FOR ADDITIONAL RETINA SUPPORT
*
*/
// Rewrite the HTML to add Retina support (not recommended, that is
// done automatically by the plugin through the Method)
function wr2x_picture_rewrite( $buffer ) {
global $wr2x_core;
return $wr2x_core->picture_rewrite( $buffer );
}
// Return Retina URL from the Image URL
function wr2x_get_retina_from_url( $url ) {
global $wr2x_core;
return $wr2x_core->get_retina_from_url( $url );
}
// Return the retina file if my found for this normal file
function wr2x_get_retina( $file ) {
global $wr2x_core;
return $wr2x_core->get_retina( $file );
}
// Generate the retina images for the given meta of a media
function wr2x_generate_images( $meta ) {
global $wr2x_core;
return $wr2x_core->generate_images( $meta );
}
// Delete the Retina files for this attachment
function wr2x_delete_attachment( $attach_id, $deleteFullSize = true ) {
global $wr2x_core;
return $wr2x_core->delete_attachment( $attach_id, $deleteFullSize );
}
function wr2x_get_pathinfo_from_image_src( $image_src ) {
global $wr2x_core;
return $wr2x_core->get_pathinfo_from_image_src( $image_src );
}
function wr2x_retina_extension() {
global $wr2x_core;
return $wr2x_core->retina_extension();
}
?>