# acymailing/11.1.0/back/Partial/fields/dimensions.php

AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress, version 11.1.0. 20 lines.

- Page: https://pluginprobe.com/plugins/acymailing/11.1.0/code/back/Partial/fields/dimensions.php
- Raw: https://pluginprobe.com/plugins/acymailing/11.1.0/raw/back/Partial/fields/dimensions.php
- Modified: 2026-08-03T10:18:54+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/acymailing/11.1.0/code/back/Partial/fields/dimensions.php#L10-L20`.

```php
<?php
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
defined('ABSPATH') || die('Restricted Access');
$widthUnit = 'px';
$heightUnit = 'px';

if (!empty($option['units'][$form->type])) {
    $widthUnit = $option['units'][$form->type]['width'];
    $heightUnit = $option['units'][$form->type]['height'];
}
?>

<div class="cell grid-x acym_vcenter">
	<input type="number" class="cell medium-3" v-model="<?php echo esc_attr($vModel); ?>.width">
	<span class="cell shrink acym__forms__menu__options__style__size__default"><?php echo esc_html($widthUnit); ?></span>
	<span class="cell shrink margin-1">x</span>
	<input type="number" class="cell medium-3" v-model="<?php echo esc_attr($vModel); ?>.height">
	<span class="cell shrink acym__forms__menu__options__style__size__default"><?php echo esc_html($heightUnit); ?></span>
</div>

```
