<?php echo esc_attr( $kk_parallax[2] ) ?>
', '' ); ?>
', '' ); ?>
1000) { // HD //$hd = '../../zenphoto/cache/photos-du-mois/' . substr($tableau[$i], 0, strlen($tableau[$i]) - 4) . "_FULL_watermark.jpg"; $hd = $file; if (file_exists($hd)) { $size_hd = getimagesize($hd, $info_hd); $imgs['img_hd'] = array( 'url' => "../" . $hd, 'width' => $size_hd[0], 'height' => $size_hd[1] ); } /* else { $imgs['img_hd'] = array( 'url' => '../' . $photo_du_mois, 'width' => $size[0], 'height' => $size[1] ); } */ // SD // 12_2017_800_clicclac.jpg $sd = '../zenphoto/cache/photos-du-mois/' . substr($filename, 0, strlen($filename) - 4) . "_800" . $watermark . ".jpg"; if (file_exists($sd)) { $size_sd = getimagesize($sd, $info_sd); $imgs['img_sd'] = array( 'url' => "../" . $sd, 'width' => $size_sd[0], 'height' => $size_sd[1] ); } } else { // SD $sd = '../zenphoto/cache/photos-du-mois/' . substr($filename, 0, strlen($filename) - 4) . "_800" . $watermark . ".jpg"; if (file_exists($sd)) { $size_sd = getimagesize($sd, $info_sd); $imgs['img_sd'] = array( 'url' => "../" . $sd, 'width' => $size_sd[0], 'height' => $size_sd[1] ); } $imgs['img_hd'] = array( 'url' => "", 'width' => "", 'height' => "" ); } // if ($size[0] > 1000) foreach ($images_du_mois[$i] as $key => $val) { $imgs[$key] = $val; } // Ajouter les tags // Présentation Title et Desc //preprint($imgs); /* Array ( [img_hd] => Array ( [url] => ../../zenphoto/albums/photos-du-mois/11_2018.jpg [width] => 1600 [height] => 1067 ) [img_sd] => Array ( [url] => ../../zenphoto/cache/photos-du-mois/11_2018_800_clicclac.jpg [width] => 800 [height] => 534 ) [filename] => 11_2018.jpg [EXIFModel] => Canon EOS-1D Mark IV [EXIFDateTimeOriginal] => 2018:11:04 11:05:09 [EXIFExposureTime] => 1/2000 sec [EXIFFNumber] => f/7,1 [EXIFISOSpeedRatings] => 500 [EXIFFocalLength] => 700 mm [EXIFLensInfo] => EF500mm f/4L IS USM +1.4x [EXIFGPSLatitude] => [EXIFGPSLatitudeRef] => [EXIFGPSLongitude] => [EXIFGPSLongitudeRef] => [EXIFGPSAltitude] => [EXIFGPSAltitudeRef] => [desc] => [title] => 11_2018 [exif] => Le 04.11.2018 à 11:05 - 1/2000 sec à f/7,1 - 500 ISO - Focale700 mm [exif+] => Canon EOS-1D Mark IV - EF500mm f/4L IS USM +1.4x [gps] => ) */ //$title = $imgs['title']; $mois = strtok($title = $imgs['title'], '_'); $keyword = ZPGetTag($filename, $album, $connexion); if (isset($keyword)) { foreach ($keyword as $val) { $tag_cloud .= ''; $tag_cloud .= ', '; } } $exifInfo = ""; $exifInfo = __('The','toppic-child') . " " .date(__("F j, Y, g:i a",'toppic-child'),strtotime($imgs['EXIFDateTimeOriginal'])).' - '; $exifInfo .= $imgs['EXIFExposureTime'] . __(' at ','toppic-child') . $imgs['EXIFFNumber'] .' - ' . $imgs['EXIFISOSpeedRatings'] .' ISO - ' . __('Focal','toppic-child') .$imgs['EXIFFocalLength']; $imgs['exif'] = $exifInfo; $imgs['exif+'] = $imgs['EXIFModel'] . ' - ' . $imgs['EXIFLensInfo']; $imgs['gps'] = ''; break; } $i++; } ?>

'; $display .= ""; $display .= ''; echo $display; ?>

? Utilisation: cliquer sur une vignette, puis....
"; $aide .= " -sur ordinateur: naviguer avec les touches flèches droite et gauche, quitter avec ESC.
"; $aide .= " -sur tablettes et smartphones: balayer l'écran avec un doigt vers la droite ou vers la gauche, ou naviguer avec les touches flèches droite et gauche. Cliquer sur la X pour quitter."; ?>

( ? )

= 2) echo ' '; for ($i = 1; $i <= $nbpages; $i++) { if ($i != $ppage) { echo ''.$i.'  '; } else { echo "".$i."  "; } } if ($page < $nbpages) echo ' '; ?>
'', 'link_before' => '', 'link_after' => '' ) ); ?>