//$page_title = "Redlands, CA LDS Temple"; //$meta_keywords = "Redlands, California, LDS Temples, weddings, gallery, portfolios, images, construction, photos, build, stake centers, dedication, family, open house"; //$meta_description = "Redlands Temple images - dt-photo.com - David Thomas Photography"; include("../functions.php"); top(); title("Engagement Portraits"); $photo_array = ""; $link_folder = "../images/engagement"; $contents = file ('http://dt-photo.com/images/engagement/?M=D'); while (list($line_num, $line) = each($contents)) { $link3 = substr((substr($line, 51)), 0, (strpos((substr($line, 51)), '"'))); if ((substr ($link3, 0, 2) == "t_")) { $photo_array .= " $link3"; } } $photos = explode(' ',$photo_array); $num = count($photos); ?>
for ($n=1;$n<$num;$n++) {
$big_photo[$n] = substr ($photos[$n], 2);
$image_size = GetImageSize("$link_folder/$big_photo[$n]");
$w = $image_size[0];
$h = $image_size[1];
$big_photo[$n] = substr ($photos[$n], 2);
$t_image_size = GetImageSize("$link_folder/$photos[$n]");
$t_w = $t_image_size[0];
$t_h = $t_image_size[1];
?>
&img= echo $link_folder."/".$big_photo[$n] ?>" TARGET="photo" onclick="popupPhoto(' echo "$w','$h" ?>');">