# learnpress/4.3.8/inc/admin/meta-box/fields/image-dimensions.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.3.8. 24 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.3.8/code/inc/admin/meta-box/fields/image-dimensions.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.3.8/raw/inc/admin/meta-box/fields/image-dimensions.php
- Modified: 2026-06-01T03:47:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.3.8/code/inc/admin/meta-box/fields/image-dimensions.php#L10-L20`.

```php
<?php
$size   = $value['value'];
$width  = isset( $size['width'] ) ? $size['width'] : $value['default'][0];
$height = isset( $size['height'] ) ? $size['height'] : $value['default'][1];
$crop   = isset( $size['crop'] ) ? $size['crop'] : $value['default'][2];
?>
<tr valign="top">
	<th scope="row" class="titledesc">
	<label>
		<?php echo esc_html( $value['title'] ); ?>
		<?php echo wp_kses_post( $tooltip_html ); ?>
	</label>
</th>
	<td class="forminp image_width_settings">
		<input name="<?php echo esc_attr( $value['id'] ); ?>[width]"
			id="<?php echo esc_attr( $value['id'] ); ?>-width" type="text"
			size="5" value="<?php echo esc_attr( $width ); ?>" />&times;
		<input name="<?php echo esc_attr( $value['id'] ); ?>[height]"
			id="<?php echo esc_attr( $value['id'] ); ?>-height"
			type="text" size="5"
			value="<?php echo esc_attr( $height ); ?>" />px
		</td>
</tr>

```
