TripAdvisor
Read unbiased opinions
about La Madelène
FR EN ES NL DE IT
Welcome to La Madelène, our Big House in Provence

The Gallery

"; $controls="
controls
"; $layout="
$viewer$controls
"; if ( isset($config['layout'] ) ) { $layout=str_replace(array('>controls<','>viewer<'), array(">".$controls."<",">".$viewer."<"), $config['layout']); } ini_set("memory_limit","128M"); $numSlides=0; $slideArray=""; foreach($config['slides'] as $rawslide) { if ( strpos($rawslide,"ssthumb") === false && strpos($rawslide,"ssslide") === false ) { $dir=dirname($rawslide); $thumb="{$dir}/ssthumb_".basename($rawslide); $slide="{$dir}/ssslide_".basename($rawslide); copy($rawslide,$slide); unlink($rawslide); resizeImage(substr($slide, 0, -4), 0, $config['slideheight']); $dim = getImageSize($slide); print "$slide ${dim[3]}
"; if ( $dim[0] > $config['slidewidth']) { resizeImage(substr($slide, 0, -4), $config['slidewidth'],0); } $dim = getImageSize($slide); print "$slide ${dim[3]}
"; copy($slide,$thumb); resizeImage(substr($thumb, 0, -4), 0, $config['thumbheight']); } if ( strpos($rawslide,"ssslide") !== false ) { $slideArray.="slide[$numSlides]=new Image();\nslide[$numSlides].src='" . str_replace(" ","%20","{$config['slidedirurl']}/".basename($rawslide)) . "';\n"; $thumbArray.="thumb[$numSlides]=new Image();\nthumb[$numSlides].src='" . str_replace(array("ssslide"," "),array("ssthumb","%20"),"{$config['slidedirurl']}/".basename($rawslide)) . "';\n"; $captionArray.="caption[$numSlides]='{$config['caption'][$numSlides]}';\n"; $numSlides++; } } switch($config['controls'] ) { case "static": $leftbutton=""; $rightbutton=""; break; default: $leftbutton="
{$config['left']}<\/div><\/td>"; $rightbutton="
{$config['right']}<\/div><\/td>"; break; } print ""; print "$layout"; print " "; ?>