���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC core = $core; add_action( 'admin_menu', array( $this, 'admin_menu_dashboard' ) ); } function admin_menu_dashboard () { $flagged = count( $this->core->get_issues() ); $warning_title = __( "Retina images", 'wp-retina-3x' ); $menu_label = sprintf( __( 'Retina %s' ), "" . number_format_i18n( $flagged ) . "" ); add_media_page( 'Retina', $menu_label, 'manage_options', 'wp-retina-3x', array( $this, 'dashboard' ) ); } function dashboard() { $refresh = isset ( $_GET[ 'refresh' ] ) ? sanitize_text_field( $_GET[ 'refresh' ] ) : 0; $clearlogs = isset ( $_GET[ 'clearlogs' ] ) ? sanitize_text_field( $_GET[ 'clearlogs' ] ) : 0; $ignore = isset ( $_GET[ 'ignore' ] ) ? sanitize_text_field( $_GET[ 'ignore' ] ) : false; if ( $ignore ) { if ( !$this->core->admin->is_registered() ) { echo "

"; _e( "Ignore is a Pro feature.", 'wp-retina-3x' ); echo "

"; } else $this->core->add_ignore( $ignore ); } if ( $refresh ) { $this->core->calculate_issues(); } if ( $clearlogs ) { if ( file_exists( plugin_dir_path( __FILE__ ) . '/wp-retina-3x.log' ) ) { unlink( plugin_dir_path( __FILE__ ) . '/wp-retina-3x.log' ); } } $hide_ads = get_option( 'meowapps_hide_ads', false ); $view = isset( $_GET[ 'view' ] ) ? sanitize_text_field( $_GET[ 'view' ] ) : 'issues'; $paged = isset( $_GET[ 'paged' ] ) ? sanitize_text_field( $_GET[ 'paged' ] ) : 1; $s = isset( $_GET[ 's' ] ) && !empty( $_GET[ 's' ] ) ? sanitize_text_field( $_GET[ 's' ] ) : null; $issues = $count = 0; $posts_per_page = get_user_meta( get_current_user_id(), 'upload_per_page', true ); if ( empty( $posts_per_page ) ) $posts_per_page = 20; $issues = $this->core->get_issues(); $ignored = $this->core->get_ignores(); echo '
'; echo $this->core->admin->display_title( "WP Retina 3x" ); echo '

'; if ( $this->core->admin->is_registered() && $view == 'issues' ) { global $wpdb; $totalcount = $wpdb->get_var( $wpdb->prepare( " SELECT COUNT(*) FROM $wpdb->posts p WHERE post_status = 'inherit' AND post_type = 'attachment'" . $this->core->create_sql_if_wpml_original() . " AND post_title LIKE %s AND ( post_mime_type = 'image/jpeg' OR post_mime_type = 'image/png' OR post_mime_type = 'image/gif' ) ", '%' . $s . '%' ) ); $postin = count( $issues ) < 1 ? array( -1 ) : $issues; $query = new WP_Query( array( 'post_status' => 'inherit', 'post_type' => 'attachment', 'post__in' => $postin, 'paged' => $paged, 'posts_per_page' => $posts_per_page, 's' => $s ) ); } else if ( $this->core->admin->is_registered() && $view == 'ignored' ) { global $wpdb; $totalcount = $wpdb->get_var( $wpdb->prepare( " SELECT COUNT(*) FROM $wpdb->posts p WHERE post_status = 'inherit' AND post_type = 'attachment'" . $this->core->create_sql_if_wpml_original() . " AND post_title LIKE %s AND ( post_mime_type = 'image/jpeg' OR post_mime_type = 'image/jpg' OR post_mime_type = 'image/png' OR post_mime_type = 'image/gif' ) ", '%' . $s . '%' ) ); $postin = count( $ignored ) < 1 ? array( -1 ) : $ignored; $query = new WP_Query( array( 'post_status' => 'inherit', 'post_type' => 'attachment', 'post__in' => $postin, 'paged' => $paged, 'posts_per_page' => $posts_per_page, 's' => $s ) ); } else { $query = new WP_Query( array( 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image/jpeg,image/gif,image/jpg,image/png', 'paged' => $paged, 'posts_per_page' => $posts_per_page, 's' => $s ) ); //$s $totalcount = $query->found_posts; } $issues_count = count( $issues ); // If 'search', then we need to clean-up the issues count if ( $s && $issues_count > 0 ) { global $wpdb; $issues_count = $wpdb->get_var( $wpdb->prepare( " SELECT COUNT(*) FROM $wpdb->posts p WHERE id IN ( " . implode( ',', $issues ) . " )" . $this->core->create_sql_if_wpml_original() . " AND post_title LIKE %s ", '%' . $s . '%' ) ); } $results = array(); $count = $query->found_posts; $pagescount = $query->max_num_pages; foreach ( $query->posts as $post ) { $info = $this->core->retina_info( $post->ID ); array_push( $results, array( 'post' => $post, 'info' => $info ) ); } ?>

"; _e( "The logs have been cleared.", 'wp-retina-3x' ); echo "

"; } $active_sizes = $this->core->get_active_image_sizes(); $full_size_needed = get_option( "wr3x_full_size" ); $max_width = 0; $max_height = 0; foreach ( $active_sizes as $name => $active_size ) { if ( $active_size['height'] != 9999 && $active_size['height'] > $max_height ) { $max_height = $active_size['height']; } if ( $active_size['width'] != 9999 && $active_size['width'] > $max_width ) { $max_width = $active_size['width']; } } $max_width = $max_width * 2; $max_height = $max_height * 2; $upload_max_size = $this->core->get_max_filesize(); ?>

image sizes settings, the full-size images should be uploaded at a resolution of at least %d×%d for the plugin to be able generate the %d retina images. Please note that it vares depending on your needs for each image (you will need to discuss this with your developer).', 'wp-retina-3x' ), $max_width, $max_height, count( $active_sizes ) ); ?> also need to upload a retina image for the Full-Size image (might be %d×%d).", 'wp-retina-3x' ), $max_width * 2, $max_height * 2 ); ?> %dMB maximum.", 'wp-retina-3x'), $upload_max_size / 1000000 ); ?> log file is available. You can also clear it.', 'wp-retina-3x' ), plugin_dir_url( __FILE__ ) ); } ?>

'; echo __( 'WARNING. You are using an option that will be removed in a future release. The plan is to remove two methods (HTML Rewrite and Retina-Images), and Disable Responsive. Those options are not necessary, and it is better to keep the plugin clean and focus. This warning message will go away if you avoid using those options (and will disappear in a future release). If you are using one of those options and really would like to keep it, please contact the support.', 'wp-retina-3x' ); echo '

'; } ?> core->admin->is_registered() && !get_option( "wr3x_hide_pro", false ) ) { echo '

'; echo __( 'Only Pro users have access to the features of this dashboard. As a standard user, the dashboard allow you to Bulk Generate, Bulk Delete and access the Retina Logs. If you wish to stay a standard user and never see this dashboard aver again, you can hide it in the settings.

The Pro version of the plugin allows you to replace directly an image already uploaded in the Media Library by a simple drag & drop, upload a retina image for a full-size image, use lazy-loading to load your images (for better performance) and, more importantly, supports the developer :)

Get WP Retina 3x Pro', 'wp-retina-3x' ); echo '

'; } ?>
'?page=wp-retina-3x&s=' . urlencode($s) . '&view=' . $view . '%_%', 'current' => $paged, 'format' => '&paged=%#%', 'total' => $pagescount, 'prev_next' => false )); ?>
Thumbnail"; echo ""; echo ""; echo ""; echo ""; echo ""; ?> $attr) { $post = $attr['post']; $info = $attr['info']; $meta = wp_get_attachment_metadata( $post->ID ); // Let's clean the issues status if ( $view != 'issues' ) { $this->core->update_issue_status( $post->ID, $issues, $info ); } $original_width = ( isset( $meta ) && isset( $meta['width'] ) ) ? $meta['width'] : null; $original_height = ( isset( $meta ) && isset( $meta['height'] ) ) ? $meta['height'] : null; $attachmentsrc = wp_get_attachment_image_src( $post->ID, 'thumbnail' ); echo ""; if ( !$original_width || !$original_height ) { echo ""; } else { echo ""; echo ""; } // Media Sizes Retina-ized echo '"; if ( $this->core->admin->is_registered() ) { // Full-Size Replace echo ""; // Full-Size Retina echo '"; // Full-Size Retina Upload echo ""; } else echo ""; echo ""; } ?>
" . __( "Base image", 'wp-retina-3x' ) . "" . __( "Media Sizes
Retina-ized", 'wp-retina-3x' ) . "
" . __( "Full-Size
Replace", 'wp-retina-3x' ) . "
" . __( "Full-Size Retina", 'wp-retina-3x' ) . "" . __( "Full-Size Retina
Upload", 'wp-retina-3x' ) . "
The metadata for the Media #{$post->ID} is broken. You can try Generate for this media (in the Media Library), Bulk Generate, or a Full-Size Replace." . ( $post->post_title ? $post->post_title : 'Untitled' ) . '
' . "Full-Size: " . $original_width . "×" . $original_height . ""; echo "
"; echo "" . __( "GENERATE", 'wp-retina-3x' ) . ""; if ( !$this->core->is_ignore( $post->ID ) ) echo " " . __( "IGNORE", 'wp-retina-3x' ) . ""; echo " " . __( "DETAILS", 'wp-retina-3x' ) . ""; echo "
'; if ( $original_width && $original_height ) echo $this->core->html_get_basic_retina_info( $post, $info ); echo "
"; echo "
'; echo $this->core->html_get_basic_retina_info_full( $post->ID, $info ); echo ""; echo "
"; echo "

PRO VERSION ONLY