- Comments::DISQUS_COMMENTS
Evento lancio nuova Porsche 911 by Giustozzi In evidenza
Presentata presso lo Sterling International di Solomeo il nuovo gioiello di casa Porsche
Presentata sabato 12 dicembre dal Centro Porsche Perugia By Autocentri Giustozzi presso lo Sterling International la nuova Porsche 911. Una location straordinaria per una macchina eccezionale. Una serata speciale ed emozionante, con sfilate e prove su strada del nuovo gioiello di casa Porsche che ha visto la partnership e collaborazioni di eccellenti realtà come lo Chef Hirohiko Shoda e La Casa delle Cuoche.
Quando un’icona attraversa le epoche, agli occhi di chiunque diventa un mito. Proprio come la nuova 911: un design ancora più sportivo e deciso. Con il meglio della tecnologia e il nuovo motore biturbo. Perché anche se raggiungi la perfezione, l’evoluzione non si ferma. Mai.
Scoprii la nuovo Porsche 911
Quando un’icona attraversa le epoche, agli occhi di chiunque diventa un mito. Proprio come la nuova 911: un design ancora più sportivo e deciso. Con il meglio della tecnologia e il nuovo motore biturbo. Perché anche se raggiungi la perfezione, l’evoluzione non si ferma. Mai.
Scoprii la nuovo Porsche 911
- License: All Rights Reserved
function makeThumb($srcImg,$sizesArray,$force){
$sizes = array();
$sizes['small'] = $sizesArray[0];
$sizes['medium'] = $sizesArray[1];
$sizes['large'] = $sizesArray[2];
foreach($sizes as $sizePref=>$sizeVal) {
$name = basename($srcImg);
$dir = dirname($srcImg);
$filename = $dir.'/'.$sizePref.'_'.$name;
//echo "Key=" . $x . ", Value=" . $x_value;
if (!file_exists($filename) or ($force == true)) {
$newImage = $filename;
$width = $sizeVal;
$height = $sizeVal;
// Content type
header('Content-Type: image/jpeg');
list($width_orig, $height_orig) = getimagesize($srcImg);
$ratio_orig = $width_orig/$height_orig;
if ($width/$height > $ratio_orig) {
$width = $height*$ratio_orig;
} else {
$height = $width/$ratio_orig;
}
$image_p = imagecreatetruecolor($width, $height);
$image = imagecreatefromjpeg($srcImg);
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
imagejpeg($image_p, $newImage, 100);
} // end if file exits
}// end foreach
}
/*
function thumbGenerate($imageName,$galleryPath,$thumbSizes,$root,$respThumb) {
$imageName = $root.$galleryPath.$imageName;
$thumbDir = $root.$galleryPath.'thumb';
if (!file_exists($thumbDir)) {
mkdir($thumbDir, 0777, true);
}
$name = basename($imageName);
$image = imagecreatefromjpeg($imageName);
$filename = $root.$galleryPath.'thumb/thumb-'.$name;
// update 1.1.3
if ($respThumb == TRUE) {
$name = basename($name,'.jpg');
$filename = $root.$galleryPath.'thumb/thumb-'.$name.'@2x.jpg';
}
$thumb_width = $thumbSizes[0];
$thumb_height = $thumbSizes[1];
$width = imagesx($image);
$height = imagesy($image);
$original_aspect = $width / $height;
$thumb_aspect = $thumb_width / $thumb_height;
if ( $original_aspect >= $thumb_aspect )
{
// If image is wider than thumbnail (in aspect ratio sense)
$new_height = $thumb_height;
$new_width = $width / ($height / $thumb_height);
}
else
{
// If the thumbnail is wider than the image
$new_width = $thumb_width;
$new_height = $height / ($width / $thumb_width);
}
$thumb = imagecreatetruecolor( $thumb_width, $thumb_height );
// Resize and crop
imagecopyresampled($thumb,
$image,
0 - ($new_width - $thumb_width) / 2, // Center the image horizontally
0 - ($new_height - $thumb_height) / 2, // Center the image vertically
0, 0,
$new_width, $new_height,
$width, $height);
imagejpeg($thumb, $filename, 100);
md5gen($galleryPath,$root);
}
function md5gen($galleryPath,$root) {
$logDir = $root.$galleryPath.'/logs';
if (!file_exists($logDir)) {
mkdir($logDir, 0777, true);
}
$logFile = $logDir.'/gallery-log.txt';
$handle = fopen($logFile, 'w') or die('Cannot open file: '.$logFile);
$md5 = md5_file($root.$galleryPath);
fwrite($handle, $md5);
}
function md5check($galleryPath,$root) {
$md5file = $root.$galleryPath.'/logs/gallery-log.txt';
$md5file = file_get_contents($md5file);
if (md5_file($root.$galleryPath) == $md5file) {
$result = "not-changed";
}else{
$result = "changed";
}
return $result;
}
*/
?>
Pubblicato in
PM Showreel
Etichettato sotto
La Redazione
Cerchiamo di essere sempre sul pezzo
Articoli correlati (da tag)
-
Articolo Correlato
16 luglio / UJ day 10
Una splendida Samara Joy al Teatro Morlacchi ed una chiusura con il botto all'Arena con Joe Bonamassa... -
Articolo Correlato
15 luglio / UJ day 9
It's wonderful... Paolo Conte! ... -
Articolo Correlato
14 luglio / UJ day 8
A tutto ‘Police’ ieri all’Arena Santa Giuliana con Stewart Copeland ... -
Articolo Correlato
12 luglio / UJ day 6
Due concerti splendidi all'Arena Santa Giuliana. Ad aprire la serata Rhiannon Giddens e Francesco Turrisi. A seguire gli scatenati Snarky Puppy... -
Articolo Correlato
11 luglio / UJ day 5
Un sera all'insegna del grande jazz con Brad Mehldau e Branford Marsalis...