|
@@ 249-251 (lines=3) @@
|
| 246 |
|
<td> |
| 247 |
|
<input type="radio" |
| 248 |
|
<?php |
| 249 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'raw' === $options['scaling'] ) { |
| 250 |
|
echo esc_attr( 'checked="checked"' ); |
| 251 |
|
} |
| 252 |
|
?> |
| 253 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'wetu-importer' ); ?><br /> |
| 254 |
|
<input type="radio" |
|
@@ 256-258 (lines=3) @@
|
| 253 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'wetu-importer' ); ?><br /> |
| 254 |
|
<input type="radio" |
| 255 |
|
<?php |
| 256 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'c' === $options['scaling'] ) { |
| 257 |
|
echo esc_attr( 'checked="checked"' ); |
| 258 |
|
} |
| 259 |
|
?> |
| 260 |
|
name="scaling" value="c" /> <?php esc_html_e( 'Crop image to fit fully into the frame, Crop is taken from middle, preserving as much of the image as possible.', 'wetu-importer' ); ?><br /> |
| 261 |
|
<input type="radio" |
|
@@ 263-265 (lines=3) @@
|
| 260 |
|
name="scaling" value="c" /> <?php esc_html_e( 'Crop image to fit fully into the frame, Crop is taken from middle, preserving as much of the image as possible.', 'wetu-importer' ); ?><br /> |
| 261 |
|
<input type="radio" |
| 262 |
|
<?php |
| 263 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'h' === $options['scaling'] ) { |
| 264 |
|
echo esc_attr( 'checked="checked"' ); |
| 265 |
|
} |
| 266 |
|
?> |
| 267 |
|
name="scaling" value="h" /> <?php esc_html_e( 'Crop image to fit fully into the frame, but resize to height first, then crop on width if needed', 'wetu-importer' ); ?><br /> |
| 268 |
|
<input type="radio" |
|
@@ 270-272 (lines=3) @@
|
| 267 |
|
name="scaling" value="h" /> <?php esc_html_e( 'Crop image to fit fully into the frame, but resize to height first, then crop on width if needed', 'wetu-importer' ); ?><br /> |
| 268 |
|
<input type="radio" |
| 269 |
|
<?php |
| 270 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'w' === $options['scaling'] ) { |
| 271 |
|
echo esc_attr( 'checked="checked"' ); |
| 272 |
|
} |
| 273 |
|
?> |
| 274 |
|
name="scaling" value="w" /> <?php esc_html_e( 'Crop image to fit fully into the frame, but resize to width first, then crop on height if needed', 'wetu-importer' ); ?><br /> |
| 275 |
|
<input type="radio" |
|
@@ 277-279 (lines=3) @@
|
| 274 |
|
name="scaling" value="w" /> <?php esc_html_e( 'Crop image to fit fully into the frame, but resize to width first, then crop on height if needed', 'wetu-importer' ); ?><br /> |
| 275 |
|
<input type="radio" |
| 276 |
|
<?php |
| 277 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'nf' === $options['scaling'] ) { |
| 278 |
|
echo esc_attr( 'checked="checked"' ); |
| 279 |
|
} |
| 280 |
|
?> |
| 281 |
|
name="scaling" value="nf" /> <?php esc_html_e( 'Resize the image to fit within the frame. but pad the image with white to ensure the resolution matches the frame', 'wetu-importer' ); ?><br /> |
| 282 |
|
<input type="radio" |
|
@@ 284-286 (lines=3) @@
|
| 281 |
|
name="scaling" value="nf" /> <?php esc_html_e( 'Resize the image to fit within the frame. but pad the image with white to ensure the resolution matches the frame', 'wetu-importer' ); ?><br /> |
| 282 |
|
<input type="radio" |
| 283 |
|
<?php |
| 284 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'n' === $options['scaling'] ) { |
| 285 |
|
echo esc_attr( 'checked="checked"' ); |
| 286 |
|
} |
| 287 |
|
?> |
| 288 |
|
name="scaling" value="n" /> <?php esc_html_e( 'Resize the image to fit within the frame. but do not upscale the image.', 'wetu-importer' ); ?><br /> |
| 289 |
|
<input type="radio" |
|
@@ 291-293 (lines=3) @@
|
| 288 |
|
name="scaling" value="n" /> <?php esc_html_e( 'Resize the image to fit within the frame. but do not upscale the image.', 'wetu-importer' ); ?><br /> |
| 289 |
|
<input type="radio" |
| 290 |
|
<?php |
| 291 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'W' === $options['scaling'] ) { |
| 292 |
|
echo esc_attr( 'checked="checked"' ); |
| 293 |
|
} |
| 294 |
|
?> |
| 295 |
|
name="scaling" value="W" /> <?php esc_html_e( 'Resize the image to fit within the frame. Image will not exceed specified dimensions', 'wetu-importer' ); ?> |
| 296 |
|
</td> |