| Server IP : 216.250.13.251 / Your IP : 216.73.217.37 Web Server : nginx/1.24.0 System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) 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 : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/editor/ |
Upload File : |
<?php
/*
*
* Retina Image
*
*/
vc_map(
array(
'base' => 'rt_retina_image',
'name' => __( 'Retina Image','rt_theme' ),
'icon' => 'rt_theme slider',
'category' => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
'description' => __( 'Add a image with retina device support','rt_theme' ),
'params' => array(
array(
'param_name' => 'img',
'heading' => __('Image','rt_theme' ),
'description' => __('Select an image from your media library. Make sure that you have selected at least 2x bigger image than the dimensions below for the retina version of the image. ','rt_theme' ),
'type' => 'attach_image',
'holder' => 'img',
'value' => '',
),
array(
'param_name' => 'img_width',
'heading' => __('Image Max Width','rt_theme' ),
'type' => 'rt_number',
'value' => "",
'save_always' => true
),
array(
'param_name' => 'img_height',
'heading' => __('Image Max Height','rt_theme' ),
'type' => 'rt_number',
'value' => "",
'save_always' => true
),
array(
'param_name' => 'crop',
'heading' => __( 'Crop','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("Disabled","rt_theme") => "false",
__("Enabled","rt_theme") => "true"
),
'save_always' => true
),
array(
'param_name' => 'img_align',
'heading' => __( 'Image Align','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("Default",'rt_theme') => "",
__("Left",'rt_theme') => "left",
__("Right",'rt_theme') => "right",
__("Center",'rt_theme') => "center",
),
'save_always' => true
),
array(
'param_name' => 'link',
'heading' => __('Link','rt_theme' ),
'type' => 'textfield',
'value' => '',
'group' => 'Link'
),
array(
'param_name' => 'link_text',
'heading' => __('Link Text','rt_theme' ),
'type' => 'textfield',
'value' => '',
'group' => 'Link'
),
array(
'param_name' => 'link_target',
'heading' => __('Link Target','rt_theme' ),
'type' => 'dropdown',
"value" => array(
__("Same Tab",'rt_theme') => "_self",
__("New Tab",'rt_theme') => "_blank",
),
'group' => 'Link'
),
array(
'param_name' => 'id',
'heading' => __('ID','rt_theme' ),
'description' => __('Unique ID','rt_theme' ),
'type' => 'textfield',
'value' => ''
),
array(
'param_name' => 'class',
'heading' => __('Class','rt_theme' ),
'description' => __('CSS Class Name','rt_theme' ),
'type' => 'textfield'
),
)
)
);
?>