private function processOldImageOptions(&$p_imageNo, array $p_params)
{
$p_imageNo = isset($p_params[0]) ? array_shift($p_params) : null;
if (isset($p_params[0]) && is_numeric($p_params[0])) {
$this->m_buildQueryArray['ImageRatio'] = $p_params[0];
} else {
while (isset($p_params[0])) {
$option = strtolower(array_shift($p_params));
if ($option != 'width' && $option != 'height' && $option != 'crop' && $option != 'forcecrop') {
CampTemplate::singleton()->trigger_error("Invalid image attribute '{$option}' in URL statement.");
break;
}
if (isset($p_params[0])) {
$option_value = array_shift($p_params);
} else {
CampTemplate::singleton()->trigger_error("Value not set for '{$option}' image attribute in URL statement.");
break;
}
$param = 'Image' . ucfirst($option);
$this->m_buildQueryArray[$param] = $option_value;
}
}
}