/**
  * Returns an array of variables that should be passed to the input template.
  *
  * @param string $name
  * @param mixed  $criteria
  *
  * @return array
  */
 protected function getInputTemplateVariables($name, $criteria)
 {
     $variables = parent::getInputTemplateVariables($name, $criteria);
     $variables['aspectRatio'] = $this->getSettings()->aspectRatio;
     return $variables;
 }