get($range); $_object = l($object); $category = $image->data->get($_object, "category"); if ($category === NULL) $category = " "; ?>
Slideshow-Einstellungen
Bildkategorie $range, "type" => "value", "value" => "\x1B%return%", "left" => "\x1B%left%", "top" => "\x1B%top%")) . "'));"; echo("" . "Auswählen" . ""); ?>
Relative Höhe der Anzeige in % (Default = 75)
Bildbreite in px (Default = 800):
Bildhöhe in px (Default = automatisch):
Miniaturbreite in px (Default = 100):
Miniaturhöhe in px (Default = 75):
Überblendgeschwindigkeit (1 - 100, Default = 3):
Anzeigezeit in ms (Default = 3500):
get($cms_template_base_id . "slideshow_image_ratio")); $image_width = (int)strtonum($cms_template_document->get($cms_template_base_id . "slideshow_image_width")); $image_height = (int)strtonum($cms_template_document->get($cms_template_base_id . "slideshow_image_height")); $thumbnail_width = (int)strtonum($cms_template_document->get($cms_template_base_id . "slideshow_thumbnail_width")); $thumbnail_height = (int)strtonum($cms_template_document->get($cms_template_base_id . "slideshow_thumbnail_height")); $fade_speed = (int)strtonum($cms_template_document->get($cms_template_base_id . "slideshow_fade_speed")); $display_time = (int)strtonum($cms_template_document->get($cms_template_base_id . "slideshow_display_time")); //defaults if (($image_ratio === FALSE) || ($image_ratio < 1)) $image_ratio = 75; if (($image_width === FALSE) || ($image_width < 1)) $image_width = 800; if (($image_height === FALSE) || ($image_height < 1)) $image_height = NULL; if (($thumbnail_width === FALSE) || ($thumbnail_width < 1)) $thumbnail_width = 100; if (($thumbnail_height === FALSE) || ($thumbnail_height < 1)) $thumbnail_height = 75; if (($fade_speed === FALSE) || ($fade_speed < 1)) $fade_speed = 3; elseif ($fade_speed > 100) $fade_speed = 100; if (($display_time === FALSE) || ($display_time < 1)) $display_time = 3500; //generate image list $array = image_get_array(); if (! isset($array[$category])) return FALSE; $resource = array(); $processed = array(); $thumbnail = array(); reset($array[$category]); while (list($key, $value) = each($array[$category])) { //process image $location = translate_url($value); $resource[] = $location; $processed[] = q(image_process($location, $image_width, $image_height)); //process thumbnail $thumbnail[] = q(image_process($location, $thumbnail_width, $thumbnail_height)); }; //output image list echo(""); ?>