|
@@ 354-356 (lines=3) @@
|
| 351 |
|
<td> |
| 352 |
|
<input type="radio" |
| 353 |
|
<?php |
| 354 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'raw' === $options['scaling'] ) { |
| 355 |
|
echo esc_attr( 'checked="checked"' ); |
| 356 |
|
} |
| 357 |
|
?> |
| 358 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'lsx-wetu-importer' ); ?><br /> |
| 359 |
|
<input type="radio" |
|
@@ 361-363 (lines=3) @@
|
| 358 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'lsx-wetu-importer' ); ?><br /> |
| 359 |
|
<input type="radio" |
| 360 |
|
<?php |
| 361 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'c' === $options['scaling'] ) { |
| 362 |
|
echo esc_attr( 'checked="checked"' ); |
| 363 |
|
} |
| 364 |
|
?> |
| 365 |
|
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.', 'lsx-wetu-importer' ); ?><br /> |
| 366 |
|
<input type="radio" |
|
@@ 368-370 (lines=3) @@
|
| 365 |
|
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.', 'lsx-wetu-importer' ); ?><br /> |
| 366 |
|
<input type="radio" |
| 367 |
|
<?php |
| 368 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'h' === $options['scaling'] ) { |
| 369 |
|
echo esc_attr( 'checked="checked"' ); |
| 370 |
|
} |
| 371 |
|
?> |
| 372 |
|
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', 'lsx-wetu-importer' ); ?><br /> |
| 373 |
|
<input type="radio" |
|
@@ 375-377 (lines=3) @@
|
| 372 |
|
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', 'lsx-wetu-importer' ); ?><br /> |
| 373 |
|
<input type="radio" |
| 374 |
|
<?php |
| 375 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'w' === $options['scaling'] ) { |
| 376 |
|
echo esc_attr( 'checked="checked"' ); |
| 377 |
|
} |
| 378 |
|
?> |
| 379 |
|
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', 'lsx-wetu-importer' ); ?><br /> |
| 380 |
|
<input type="radio" |
|
@@ 382-384 (lines=3) @@
|
| 379 |
|
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', 'lsx-wetu-importer' ); ?><br /> |
| 380 |
|
<input type="radio" |
| 381 |
|
<?php |
| 382 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'nf' === $options['scaling'] ) { |
| 383 |
|
echo esc_attr( 'checked="checked"' ); |
| 384 |
|
} |
| 385 |
|
?> |
| 386 |
|
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', 'lsx-wetu-importer' ); ?><br /> |
| 387 |
|
<input type="radio" |
|
@@ 389-391 (lines=3) @@
|
| 386 |
|
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', 'lsx-wetu-importer' ); ?><br /> |
| 387 |
|
<input type="radio" |
| 388 |
|
<?php |
| 389 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'n' === $options['scaling'] ) { |
| 390 |
|
echo esc_attr( 'checked="checked"' ); |
| 391 |
|
} |
| 392 |
|
?> |
| 393 |
|
name="scaling" value="n" /> <?php esc_html_e( 'Resize the image to fit within the frame. but do not upscale the image.', 'lsx-wetu-importer' ); ?><br /> |
| 394 |
|
<input type="radio" |
|
@@ 396-398 (lines=3) @@
|
| 393 |
|
name="scaling" value="n" /> <?php esc_html_e( 'Resize the image to fit within the frame. but do not upscale the image.', 'lsx-wetu-importer' ); ?><br /> |
| 394 |
|
<input type="radio" |
| 395 |
|
<?php |
| 396 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'W' === $options['scaling'] ) { |
| 397 |
|
echo esc_attr( 'checked="checked"' ); |
| 398 |
|
} |
| 399 |
|
?> |
| 400 |
|
name="scaling" value="W" /> <?php esc_html_e( 'Resize the image to fit within the frame. Image will not exceed specified dimensions', 'lsx-wetu-importer' ); ?> |
| 401 |
|
</td> |