1. Kunstwerk in opdracht 3 honden

    Marieke Evelien

    1. Marieke Evelien
    2. in opdracht 3 honden
    3. 04-11-2008
    4. 80 x 60
    • Kunstwerk Giulia

      Tamara van den Berg

      1. Tamara van den Berg
      2. Giulia
      3. 14-04-2006
      4. 50 x 50
      5. € 650
    • Kunstwerk galactica 2

      Alexandra Badt

      1. Alexandra Badt
      2. galactica 2
      3. 26-02-2007
      4. 40 x 40
      5. € 350
    • Kunstwerk in opdracht

      Marieke Evelien

      1. Marieke Evelien
      2. in opdracht
      3. 04-11-2008
      4. 90 x 90
      • Kunstwerk Portret Frank 2

        Peter de Lange

        1. Peter de Lange
        2. Portret Frank 2
        3. 23-02-2003
        4. 30 x 40
        5. € 425
      • Kunstwerk Lichtbouw

        Alexandra Badt

        1. Alexandra Badt
        2. Lichtbouw
        3. 28-05-2006
        4. 155 x 145
        • Kunstwerk Blue Elvis

          Alien Smid

          1. Alien Smid
          2. Blue Elvis
          3. 13-02-2006
          4. 80 x 120
          • Kunstwerk Zoo 3

            Wouter Veerman

            1. Wouter Veerman
            2. Zoo 3
            3. 11-06-2013
            4. 200 x 100
            • Kunstwerk streepjescode 7

              Rana Berends

              1. Rana Berends
              2. streepjescode 7
              3. 10-12-2003
              4. 15 x 70
              • Kunstwerk streepjescode 2

                Rana Berends

                1. Rana Berends
                2. streepjescode 2
                3. 10-12-2003
                4. 15 x 70
                • Kunstwerk After wedding gift

                  Alien Smid

                  1. Alien Smid
                  2. After wedding gift
                  3. 13-02-2006
                  4. 60 x 60
                  • Kunstwerk zakkendragershuisje

                    Dingeman van Zanten

                    1. Dingeman van Zanten
                    2. zakkendragershuisje
                    3. 28-12-2015
                    4. 70 x 50
                    • Kunstwerk SkyBird

                      EUS Erlinde Ufkes Stephanus

                      1. EUS Erlinde Ufkes Stephanus
                      2. SkyBird
                      3. 24-05-2013
                      4. 120 x 100
                      • Kunstwerk Terra

                        Chris Dagradi

                        1. Chris Dagradi
                        2. Terra
                        3. 23-02-2012
                        4. 70 x 70
                        • Kunstwerk

                          hildegard hamstra

                          1. hildegard hamstra
                          2. "bekijk het'
                          3. 24-08-2011
                          4. 52 x 88
                          • Kunstwerk No family 2

                            Ellen Endhoven

                            1. Ellen Endhoven
                            2. No family 2
                            3. 08-05-2015
                            4. 70 x 100
                            • Kunstwerk Zeilen op het Slotermeer

                              Winnifred Bastian

                              1. Winnifred Bastian
                              2. Zeilen op het Slotermeer
                              3. 04-12-2013
                              4. 32 x 26
                              • Kunstwerk Paletbloem

                                Sofia Ramselaar

                                1. Sofia Ramselaar
                                2. Paletbloem
                                3. 28-11-2016
                                4. 110 x 80
                                • Kunstwerk Aton 3 street

                                  Dimitar Genchev

                                  1. Dimitar Genchev
                                  2. Aton 3 street
                                  3. 14-10-2012
                                  4. 140 x 190
                                  • Kunstwerk Meat Greed (2) Dog Meat

                                    Emmy Gostelie

                                    1. Emmy Gostelie
                                    2. Meat Greed (2) Dog Meat
                                    3. 10-02-2015
                                    4. 120 x 90
                                    • Kunstwerk Google Eyes

                                      Adri A.C. de Fluiter

                                      1. Adri A.C. de Fluiter
                                      2. Google Eyes
                                      3. 13-04-2012
                                      4. 20 x 20
                                      • Kunstwerk zonder titel

                                        Daniella Wesseling

                                        1. Daniella Wesseling
                                        2. zonder titel
                                        3. 10-11-2011
                                        4. 75 x 120
                                        • Kunstwerk r'evolution

                                          Daniella Wesseling

                                          1. Daniella Wesseling
                                          2. r'evolution
                                          3. 05-11-2011
                                          4. 120 x 150
                                          • Kunstwerk 'Dertien'

                                            hildegard hamstra

                                            1. hildegard hamstra
                                            2. 'Dertien'
                                            3. 24-08-2011
                                            4. 80 x 65
                                            • Kunstwerk Serious Life II, In the wrong place II

                                              Mariette van der Meer

                                              1. Mariette van der Meer
                                              2. Serious Life II, In the wrong place II
                                              3. 23-02-2015
                                              4. 90 x 45
                                              • Kunstwerk Espacio BxJ (techo 1383-1572).

                                                Maria Jose Ramirez Ramirez

                                                1. Maria Jose Ramirez Ramirez
                                                2. Espacio BxJ (techo 1383-1572).
                                                3. 13-12-2018
                                                4. 40 x 90
                                                • Kunstwerk Serious life II, Did she....

                                                  Mariette van der Meer

                                                  1. Mariette van der Meer
                                                  2. Serious life II, Did she....
                                                  3. 23-02-2015
                                                  4. 73 x 51
                                                  • Kunstwerk r'evolution 2

                                                    Daniella Wesseling

                                                    1. Daniella Wesseling
                                                    2. r'evolution 2
                                                    3. 24-10-2011
                                                    4. 100 x 150
                                                    • Kunstwerk show

                                                      Wedad Thamer

                                                      1. Wedad Thamer
                                                      2. show
                                                      3. 29-11-2010
                                                      4. 50 x 50
                                                      • Kunstwerk show

                                                        Wedad Thamer

                                                        1. Wedad Thamer
                                                        2. show
                                                        3. 29-11-2010
                                                        4. 80 x 80
                                                        $width,'height'=>$height); } static function getResizedURL($id, $xsize, $ysize, $xtype, $ytype, $hash) { if (!self::checkHash($id, $xsize, $ysize, $xtype, $ytype, $hash)) Throw new Exception('Invalid Hash: ' . self::getHash($id, $xsize, $ysize, $xtype, $ytype)); $original = self::getOriginal($id); if(false == $original){ return self::$emptyImage; } $loc = self::getNewLocation(); $file = $loc . $id . '-' . $hash; if(!file_exists($file)) { if(!self::resizeImage($original, $file, $xsize, $ysize, $xtype, $ytype)) { throw new Exception("Resizing image failed"); } } return $file; } /* public function remove($id) { if ($id) { $url = executeQuery('SELECT url FROM images WHERE id = :id', array(':id' => $id))->fetchOne(); if (substr(strtolower($url),0,4)=='http') { return false; } else { unlink (self::getStorageLocation() .$url); } executeQuery('DELETE FROM images WHERE id = :id', array(':id' => $id)); } } */ private static function getOriginalLocation() { return dirname(__FILE__) . self::$originalLocation; } private static function getOriginalLocation2() { return dirname(__FILE__) . self::$originalLocation2; } private static function getOriginalArtistLoc() { return dirname(__FILE__) . self::$originalArtistLoc; } private static function getNewLocation() { return dirname(__FILE__) . self::$newLocation; } private static function getHash($id, $xsize, $ysize, $xtype, $ytype) { $hash = substr(md5($id . $xsize . $ysize . $xtype . $ytype . self::$seed), 0, 6); return $hash; } private static function checkHash($id, $xsize, $ysize, $xtype, $ytype, $hash) { return self::getHash($id, $xsize, $ysize, $xtype, $ytype) == $hash; } private static function resizeImage($src, $dst, $xsize, $ysize, $xtype, $ytype) { switch(image_type_to_mime_type(exif_imagetype($src))) { case "image/gif": return self::resizeGif($src, $dst, $xsize, $ysize, $xtype, $ytype); case "image/jpeg": return self::resizeJpg($src, $dst, $xsize, $ysize, $xtype, $ytype); case "image/png": return self::resizePng($src, $dst, $xsize, $ysize, $xtype, $ytype); } return false; } private static function resizeJpg($src, $dst, $xsize, $ysize, $xtype, $ytype) { $img = @imagecreatefromjpeg($src); //Surpress warning if(!$img) { return false; } list($width, $height) = @getimagesize($src); $newsize = self::getNewSize($width, $height, $xsize, $ysize, $xtype, $ytype); if ($newsize["height"] == $height && $newsize["width"] == $width) { copy($src, $dst); return true; } $img2 = imagecreatetruecolor($newsize['width'], $newsize['height']); if($newsize['width'] / $newsize['height'] > $width / $height) { $newWidth = $newsize['width']; $newHeight = ceil($newsize['width'] / $width * $height); $x = 0; $y = floor(($newsize['height'] - $newHeight) / 2); } else { $newWidth = ceil($newsize['height'] / $height * $width); $newHeight = $newsize['height']; $x = floor(($newsize['width'] - $newWidth) / 2); $y = 0; } imagecopyresampled($img2, $img, $x, $y, 0, 0, $newWidth, $newHeight, $width, $height); imagejpeg($img2, $dst, self::$jpegQuality); return true; } private static function resizePng($src, $dst, $xsize, $ysize, $xtype, $ytype) { $img = imagecreatefrompng($src); //Surpress warning if(!$img) { return false; } list($width, $height) = @getimagesize($src); $newsize = self::getNewSize($width, $height, $xsize, $ysize, $xtype, $ytype); if ($newsize["height"] == $height && $newsize["width"] == $width) { copy($src, $dst); return true; } $img2 = imagecreatetruecolor($newsize['width'], $newsize['height']); if($newsize['width'] / $newsize['height'] > $width / $height) { $newWidth = $newsize['width']; $newHeight = ceil($newsize['width'] / $width * $height); $x = 0; $y = floor(($newsize['height'] - $newHeight) / 2); } else { $newWidth = ceil($newsize['height'] / $height * $width); $newHeight = $newsize['height']; $x = floor(($newsize['width'] - $newWidth) / 2); $y = 0; } imagecopyresampled($img2, $img, $x, $y, 0, 0, $newWidth, $newHeight, $width, $height); imagepng($img2, $dst); return true; } private function resizeGif($src, $dst, $xsize, $ysize, $xtype, $ytype) { $img = imagecreatefromgif($src); if(!$img) { return false; } list($width, $height) = @getimagesize($src); $newsize = Image::getNewSize($width, $height, $xsize, $ysize, $xtype, $ytype); if ($newsize["height"] == $height && $newsize["width"] == $width) { copy($src, $dst); return true; } $img2 = imagecreatetruecolor($newsize['width'], $newsize['height']); if($newsize['width'] / $newsize['height'] > $width / $height) { $newWidth = $newsize['width']; $newHeight = ceil($newsize['width'] / $width * $height); $x = 0; $y = floor(($newsize['height'] - $newHeight) / 2); } else { $newWidth = ceil($newsize['height'] / $height * $width); $newHeight = $newsize['height']; $x = floor(($newsize['width'] - $newWidth) / 2); $y = 0; } $trnprt_indx = imagecolortransparent($img); if ($trnprt_indx >= 0) { imagetruecolortopalette($img2, true, 256); imagealphablending($img2, false); imagesavealpha($img2,true); $trnprt_color = imagecolorsforindex($img, $trnprt_indx); $trnprt_indx = imagecolorallocate($img2, $trnprt_color['red'], $trnprt_color['green'], $trnprt_color['blue']); imagefill($img2, 0, 0, $trnprt_indx); imagecolortransparent($img2, $trnprt_indx); } imagecopyresampled($img2, $img, $x, $y, 0, 0, $newWidth, $newHeight, $width, $height); imagegif($img2, $dst); return true; } private static function getNewSize($width, $height, $xsize, $ysize, $xtype, $ytype) { $newsize = array("width" => $width, "height" => $height); if($xtype == "exact" || ($xtype == "max" && $newsize['width'] > $xsize)) { $newsize['height'] = round($newsize['height'] * $xsize / $newsize['width']); $newsize['width'] = $xsize; } if($ytype == "exact" || ($ytype == "max" && $newsize['height'] > $ysize)) { if($xtype != "exact") { $newsize['width'] = round($newsize['width'] * $ysize / $newsize['height']); if($xtype == "max") { $newsize['width'] = min($newsize['width'], $xsize); } } $newsize['height'] = $ysize; } return $newsize; } private static function getOriginal($id) { // if ($id == 0) { // return dirname(__FILE__) . '/../public_html/img2011/site/empty.gif'; // } //$url = str_replace('aaserver01.autodisk.nl', 'AAFOTOS:#FOTOSAA0407@aaserver01.autodisk.nl', $url); if ( substr($id,0,1) == 'a' ) { return self::getArtistOriginal(substr($id,1)); } $loc = self::getOriginalLocation2(); $file = $loc . $id . '.jpg'; if (!is_file($file)) { $loc = self::getOriginalLocation(); $file = $loc . $id . '.jpg'; if (!is_file($file)) { //throw new Exception('No original'); $c = @file_get_contents('http://artolive.nl/img/works/originals/' . $id . '.jpg'); if (!($c)) { $c = @file_get_contents('http://artolive.nl/img/works/large/' . $id . '.jpg'); } if (!$c) return $file;// throw new Exception("Cannot fetch original($file)"); file_put_contents($file, $c); } return $file; } return $file; } public function doesImageExists($id) { return strlen($this->getOriginal($id)) > 1; } private static function getArtistOriginal($id) { $loc = self::getOriginalArtistLoc(); $file = $loc . $id . '.jpg.original'; if (!is_file($file)) { $loc = self::getOriginalArtistLoc(); $file = $loc . $id . '.jpg'; if (!is_file($file)) { //throw new Exception('No original'); $c = @file_get_contents('http://artolive.nl/img/works/artists/' . $id . '.jpg.original'); if (!($c)) { $c = @file_get_contents('http://artolive.nl/img/works/artists/' . $id . '.jpg'); } if (!$c) return $file;// throw new Exception("Cannot fetch original($file)"); file_put_contents($file, $c); } return $file; } return $file; } }