protected function getDetailFields() { $fields = parent::getDetailFields(); $width = $this->getOriginalWidth(); $height = $this->getOriginalHeight(); // Show dimensions of original if ($width && $height) { $fields->insertAfter('ClickableURL', ReadonlyField::create("OriginalWidth", _t('AssetTableField.WIDTH', 'Width'), $width)); $fields->insertAfter('OriginalWidth', ReadonlyField::create("OriginalHeight", _t('AssetTableField.HEIGHT', 'Height'), $height)); } return $fields; }