PluginProbe ʕ •ᴥ•ʔ
TinyPNG – JPEG, PNG & WebP image compression / 3.8.0
TinyPNG – JPEG, PNG & WebP image compression v3.8.0
3.8.0 3.7.0 3.6.14 trunk 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.4.0 1.5.0 1.6.0 1.7.0 1.7.1 1.7.2 2.0.0 2.0.1 2.0.2 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.0.0 3.0.1 3.1.0 3.2.0 3.2.1 3.3 3.4 3.4.1 3.4.2 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.6.0 3.6.1 3.6.10 3.6.11 3.6.12 3.6.13 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9
tiny-compress-images / src / views / settings-original-image.php
tiny-compress-images / src / views Last commit date
account-status-connected.php 2 months ago account-status-create-advanced.php 2 months ago account-status-create-simple.php 2 months ago account-status-loading.php 4 years ago bulk-optimization-form.php 7 months ago bulk-optimization-upgrade-notice.php 2 months ago bulk-optimization.php 2 months ago compress-details-processing.php 2 months ago compress-details.php 2 months ago dashboard-widget.php 2 months ago notice-feedback.php 2 months ago optimization-chart.php 2 months ago request-review.php 4 months ago settings-conversion-delivery.php 4 months ago settings-conversion-enabled.php 4 months ago settings-conversion-output.php 4 months ago settings-conversion.php 4 months ago settings-diagnostics.php 7 months ago settings-original-image-original.php 4 months ago settings-original-image-preserve.php 4 months ago settings-original-image.php 1 week ago settings.php 4 months ago
settings-original-image.php
119 lines
1 <?php
2
3 $strong = array(
4 'strong' => array(),
5 );
6
7 ?>
8
9 <tr>
10 <th scope="row"><?php esc_html_e( 'Original image', 'tiny-compress-images' ); ?></th>
11 <td>
12 <div class="tiny-resize-unavailable" style="display: none">
13 <?php
14 esc_html_e(
15 'Enable compression of the original image size for more options.',
16 'tiny-compress-images'
17 );
18 ?>
19 </div>
20 <div class="tiny-resize-available">
21 <?php
22 $resize_original_enabled_id = self::get_prefixed_name( 'resize_original_enabled' );
23 $resize_original_enabled_name = self::get_prefixed_name( 'resize_original[enabled]' );
24 $resize_original_enabled = $this->get_resize_enabled();
25 ?>
26 <input
27 type="checkbox"
28 id="<?php echo esc_attr( $resize_original_enabled_id ); ?>"
29 name="<?php echo esc_attr( $resize_original_enabled_name ); ?>"
30 value="on"
31 <?php checked( $resize_original_enabled ); ?> />
32 <label for="<?php echo esc_attr( $resize_original_enabled_id ); ?>">
33 <?php
34 esc_html_e(
35 'Resize the original image',
36 'tiny-compress-images'
37 );
38 ?>
39 </label><br>
40 <div class="tiny-resize-available tiny-resize-resolution">
41 <span>
42 <?php
43 echo wp_kses(
44 __(
45 '<strong>Save space</strong> by setting a maximum width and height for all images uploaded.',
46 'tiny-compress-images'
47 ),
48 $strong
49 );
50 ?>
51 <br>
52 <?php
53 echo wp_kses(
54 __(
55 'Resizing takes <strong>1 additional compression</strong> for each image that is larger.',
56 'tiny-compress-images'
57 ),
58 $strong
59 );
60 ?>
61 </span>
62
63 <div class="tiny-resize-inputs">
64 <?php esc_html_e( 'Max Width', 'tiny-compress-images' ); ?>:
65 <?php $this->render_resize_input( 'width' ); ?>
66 <?php esc_html_e( 'Max Height', 'tiny-compress-images' ); ?>:
67 <?php $this->render_resize_input( 'height' ); ?>
68 </div>
69 </div>
70
71 <p class="tiny-preserve">
72 <?php
73 $backup_enabled_id = self::get_prefixed_name( 'backup' );
74 $backup_enabled_name = self::get_prefixed_name( 'backup[enabled]' );
75 $backup_enabled = $this->get_backup_enabled();
76 ?>
77 <input
78 type="checkbox"
79 id="<?php echo esc_attr( $backup_enabled_id ); ?>"
80 name="<?php echo esc_attr( $backup_enabled_name ); ?>"
81 value="on"
82 <?php checked( $backup_enabled ); ?> />
83 <label for="<?php echo esc_attr( $backup_enabled_id ); ?>">
84 <?php
85 esc_html_e(
86 'Create a backup of the uncompressed image',
87 'tiny-compress-images'
88 );
89 ?>
90 </label>
91 </p>
92
93 <?php
94 $this->render_preserve_input(
95 'creation',
96 esc_html__(
97 'Preserve creation date and time in the original image',
98 'tiny-compress-images'
99 )
100 );
101 $this->render_preserve_input(
102 'copyright',
103 esc_html__(
104 'Preserve copyright information in the original image',
105 'tiny-compress-images'
106 )
107 );
108 $this->render_preserve_input(
109 'location',
110 esc_html__(
111 'Preserve GPS location in the original image',
112 'tiny-compress-images'
113 ) . ' ' .
114 esc_html__( '(JPEG only)', 'tiny-compress-images' )
115 );
116 ?>
117 </div>
118 </td>
119 </tr>