include("../functions.php"); top();
$photo_array = "";
$link_folder = "../images/tiffany_sam_engagement";
$contents = file ('http://dt-photo.com/images/tiffany_sam_engagement/');
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);
?>
Tiffany & Sam - Engagement Images
(Click any image for a larger view)
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];
//echo urlencode(str_replace("-","_",substr($big_photo[$n], 0,-4)));
?>
&img= echo $link_folder."/".$big_photo[$n] ?>" TARGET="photo" onclick="popupPhoto(' echo "$w','$h" ?>');">
" WIDTH=" echo $t_w ?>" HEIGHT=" echo $t_h ?>" BORDER="1" ALT=" echo str_replace("tifany_sam_","Tifany & Sam - Engagement #",substr($big_photo[$n], 0, -4)); ?>">
} ?>
Send this page to a friend
bottom(); ?>