--> | '; \n";
} else {
$smodetemplate="\n if (smode != '0') document.getElementById('row').innerHTML+='--> | | '; \n";
}
if (!file_exists("index.htm") && !file_exists("index.html")) {
foreach (glob("*-[0-9]*of.[jJgGpP][pPiInN]*") as $ifil) {
$ibits=explode("-", $ifil);
if (sizeof($ibits) > 1) {
$proposedstitle=str_replace("_", " ", $ibits[0]);
if ($proposedstitle != $stitle) {
if ($stitle == "") {
$stitle=$proposedstitle;
} else if (strpos($sothers, $proposedstitle) === false) {
$spush.="\n firstones.push(" . $scnt . "); \n";
$spush.="\n lastones.push(" . (-1 + $scnt) . "); \n";
$sothers.="
" . $proposedstitle . "";
$sscnt++;
}
}
if (isset($_GET['exif'])) { // //www.rjmprogramming.com.au/PHP/read_exif_off_image_rotate.php?image=
list($width, $height, $type, $attr) = getimagesize($ifil);
$zerobit=" style=\"width:" . $width . "px;height:" . $height . "px;\" ";
$smodebit.="\n if (smode != '0') document.getElementById('row').innerHTML+='--> | | '; \n";
} else {
$smodebit.="\n if (smode != '0') document.getElementById('row').innerHTML+='--> | | '; \n";
}
$spush.="\n uarraydatauri.push('" . $surlprefix . $ifil . "'); \n";
$scnt++;
}
}
foreach (glob("*-[0-9]*.[jJgGpP][pPiInN]*") as $ifil) {
if (strpos($spush, "'" . $surlprefix . $ifil . "'") === false) {
$ibits=explode("-", $ifil);
if (sizeof($ibits) > 1) {
$proposedstitle=str_replace("_", " ", $ibits[0]);
if ($proposedstitle != $stitle) {
if ($stitle == "") {
$stitle=$proposedstitle;
} else if (strpos($sothers, $proposedstitle) === false) {
$spush.="\n firstones.push(" . $scnt . "); \n";
$spush.="\n lastones.push(" . (-1 + $scnt) . "); \n";
$sothers.="
" . $proposedstitle . "";
$sscnt++;
}
}
if (isset($_GET['exif'])) {
list($width, $height, $type, $attr) = getimagesize($ifil);
$zerobit=" style=\"width:" . $width . "px;height:" . $height . "px;\" ";
$smodebit.="\n if (smode != '0') document.getElementById('row').innerHTML+=' style=\"width:" . $width . "px;height:" . $height . "px;\">--> | | '; \n";
$tdid="";
} else {
$smodebit.="\n if (smode != '0') document.getElementById('row').innerHTML+='--> | | '; \n";
}
$spush.="\n uarraydatauri.push('" . $surlprefix . $ifil . "'); \n";
$scnt++;
}
}
}
}
?>
- via RJM Programming Slideshow Presentation
iframe { width: 100%; height: 100%; }
td { vertical-align: top; }
";
}
?>
version below ... optionally get content via web browser (Windows right click, Mac OS X two finger gesture) ...