include("connect.php");
include("imagefunction.php");
$sql = "select * from projects where id = '$_GET[id]'";
$query = mysql_query($sql);
$r=mysql_fetch_assoc($query);
if(isset($_GET["img"]))
{
//echo $r["image6"];
cropImage(470, 470, "images/".$r["image".$_GET["img"]].".jpg", 'jpg', "thumbnails/".$r["image".$_GET["img"]]."-2.jpg");
//cropImage(667, 500, "images/".$r["image".$_GET["img"]].".jpg", 'jpg', "thumbnails/".$r["image".$_GET["img"]]."-2.jpg");
$image_link = "image".$_GET["img"];
}else{
//echo "pogi";
//cropImage(470, 470, "images/".$r["image1"].".jpg", 'jpg', "thumbnails/".$r["image1"]."-2.jpg");
//cropImage(667, 500, "images/".$r["image1"].".jpg", 'jpg', "thumbnails/".$r["image1"]."-2.jpg");
$image_link = "image1";
}
?>
|
- |
|
|
Year: |
Place: |
Interior Designer: |
Lighting Designer: |
Work Type: |
|
|