|
@@ 257-259 (lines=3) @@
|
| 254 |
|
<td> |
| 255 |
|
<input type="radio" |
| 256 |
|
<?php |
| 257 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'raw' === $options['scaling'] ) { |
| 258 |
|
echo esc_attr( 'checked="checked"' ); |
| 259 |
|
} |
| 260 |
|
?> |
| 261 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'lsx-wetu-importer' ); ?><br /> |
| 262 |
|
<input type="radio" |
|
@@ 264-266 (lines=3) @@
|
| 261 |
|
name="scaling" value="raw" /> <?php esc_html_e( 'Get the Full size image, no cropping takes place.', 'lsx-wetu-importer' ); ?><br /> |
| 262 |
|
<input type="radio" |
| 263 |
|
<?php |
| 264 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'c' === $options['scaling'] ) { |
| 265 |
|
echo esc_attr( 'checked="checked"' ); |
| 266 |
|
} |
| 267 |
|
?> |
| 268 |
|
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 /> |
| 269 |
|
<input type="radio" |
|
@@ 271-273 (lines=3) @@
|
| 268 |
|
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 /> |
| 269 |
|
<input type="radio" |
| 270 |
|
<?php |
| 271 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'h' === $options['scaling'] ) { |
| 272 |
|
echo esc_attr( 'checked="checked"' ); |
| 273 |
|
} |
| 274 |
|
?> |
| 275 |
|
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 /> |
| 276 |
|
<input type="radio" |
|
@@ 278-280 (lines=3) @@
|
| 275 |
|
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 /> |
| 276 |
|
<input type="radio" |
| 277 |
|
<?php |
| 278 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'w' === $options['scaling'] ) { |
| 279 |
|
echo esc_attr( 'checked="checked"' ); |
| 280 |
|
} |
| 281 |
|
?> |
| 282 |
|
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 /> |
| 283 |
|
<input type="radio" |
|
@@ 285-287 (lines=3) @@
|
| 282 |
|
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 /> |
| 283 |
|
<input type="radio" |
| 284 |
|
<?php |
| 285 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'nf' === $options['scaling'] ) { |
| 286 |
|
echo esc_attr( 'checked="checked"' ); |
| 287 |
|
} |
| 288 |
|
?> |
| 289 |
|
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 /> |
| 290 |
|
<input type="radio" |
|
@@ 292-294 (lines=3) @@
|
| 289 |
|
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 /> |
| 290 |
|
<input type="radio" |
| 291 |
|
<?php |
| 292 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'n' === $options['scaling'] ) { |
| 293 |
|
echo esc_attr( 'checked="checked"' ); |
| 294 |
|
} |
| 295 |
|
?> |
| 296 |
|
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 /> |
| 297 |
|
<input type="radio" |
|
@@ 299-301 (lines=3) @@
|
| 296 |
|
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 /> |
| 297 |
|
<input type="radio" |
| 298 |
|
<?php |
| 299 |
|
if ( isset( $options['scaling'] ) && '' !== $options['scaling'] && 'W' === $options['scaling'] ) { |
| 300 |
|
echo esc_attr( 'checked="checked"' ); |
| 301 |
|
} |
| 302 |
|
?> |
| 303 |
|
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' ); ?> |
| 304 |
|
</td> |