|
@@ 320-322 (lines=3) @@
|
| 317 |
|
<td> |
| 318 |
|
<input type="radio" |
| 319 |
|
<?php |
| 320 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'raw' === $options['scaling'] ) { |
| 321 |
|
echo esc_attr( 'checked="checked"' ); |
| 322 |
|
} |
| 323 |
|
?> |
| 324 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'lsx-wetu-importer' ); ?><br /> |
| 325 |
|
<input type="radio" |
|
@@ 327-329 (lines=3) @@
|
| 324 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'lsx-wetu-importer' ); ?><br /> |
| 325 |
|
<input type="radio" |
| 326 |
|
<?php |
| 327 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'c' === $options['scaling'] ) { |
| 328 |
|
echo esc_attr( 'checked="checked"' ); |
| 329 |
|
} |
| 330 |
|
?> |
| 331 |
|
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 /> |
| 332 |
|
<input type="radio" |
|
@@ 334-336 (lines=3) @@
|
| 331 |
|
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 /> |
| 332 |
|
<input type="radio" |
| 333 |
|
<?php |
| 334 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'h' === $options['scaling'] ) { |
| 335 |
|
echo esc_attr( 'checked="checked"' ); |
| 336 |
|
} |
| 337 |
|
?> |
| 338 |
|
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 /> |
| 339 |
|
<input type="radio" |
|
@@ 341-343 (lines=3) @@
|
| 338 |
|
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 /> |
| 339 |
|
<input type="radio" |
| 340 |
|
<?php |
| 341 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'w' === $options['scaling'] ) { |
| 342 |
|
echo esc_attr( 'checked="checked"' ); |
| 343 |
|
} |
| 344 |
|
?> |
| 345 |
|
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 /> |
| 346 |
|
<input type="radio" |
|
@@ 348-350 (lines=3) @@
|
| 345 |
|
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 /> |
| 346 |
|
<input type="radio" |
| 347 |
|
<?php |
| 348 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'nf' === $options['scaling'] ) { |
| 349 |
|
echo esc_attr( 'checked="checked"' ); |
| 350 |
|
} |
| 351 |
|
?> |
| 352 |
|
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 /> |
| 353 |
|
<input type="radio" |
|
@@ 355-357 (lines=3) @@
|
| 352 |
|
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 /> |
| 353 |
|
<input type="radio" |
| 354 |
|
<?php |
| 355 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'n' === $options['scaling'] ) { |
| 356 |
|
echo esc_attr( 'checked="checked"' ); |
| 357 |
|
} |
| 358 |
|
?> |
| 359 |
|
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 /> |
| 360 |
|
<input type="radio" |
|
@@ 362-364 (lines=3) @@
|
| 359 |
|
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 /> |
| 360 |
|
<input type="radio" |
| 361 |
|
<?php |
| 362 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'W' === $options['scaling'] ) { |
| 363 |
|
echo esc_attr( 'checked="checked"' ); |
| 364 |
|
} |
| 365 |
|
?> |
| 366 |
|
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' ); ?> |
| 367 |
|
</td> |