'>Get Premium true, 'imgevr_links_enable' => $linksEnabled, 'imgevr_css_class' => $cssClasses, 'imgevr_resizing_enable' => 0, 'imgevr_resizing_max_width'=> '', 'imgevr_resizing_max_height' => '', 'imgevr_resizing_crop_mode' => 0, 'imgevr_resizing_save_original' => 0, 'imgevr_compression_enable' => 0, 'imgevr_compression_size' => '', 'imgevr_compression_jpeg_quality' => '' )); exit; } add_action('wp_ajax_imgevr_save_quick_settings', 'imgevr_save_quick_settings'); /** * Prints the form Quick Settings. */ function imgevr_print_quick_settings( ) { $links = get_option('imgevr_links_enable', false); $cssClass = get_option('imgevr_css_class', false); $resizing = get_option('imgevr_resizing_enable', false); $resizingMaxWidth = get_option('imgevr_resizing_max_width', ''); $resizingMaxHeight = get_option('imgevr_resizing_max_height', ''); $resizingCropMode = get_option('imgevr_resizing_crop_mode', false); $resizingSaveOriginal = get_option('imgevr_resizing_save_original', false); $compression = get_option('imgevr_compression_enable', false); $compressionSize = get_option('imgevr_compression_size', 400); $compressionQuality = get_option('imgevr_compression_jpeg_quality', 80); if ( empty( $compressionQuality ) ) $compressionQuality = 80; ?>
If set, wraps pasted images with the <a> tag.
Optional. Set extra CSS classes for pasted images.
Convert pasted images to JPG on the fly.
Upgrade to the premium version to unlock the resizing and compression features.