Benutzer-Werkzeuge

Webseiten-Werkzeuge


Seitenleiste

Home und News-Archiv

Entwicklung des Ami6

Die Modelle

Technikdaten

Literatur & Memorabilia

Kunstvoll

Historisches und Bemerkenswertes

Ami6 Register

Alles andere

flickr

Citroën Ami6 Bilder-Galerie bei Flickr.com

Bei Flickr finden sich sehr schöne Bilder zum Stichwort Citroën Ami6 - schauen wir uns einige an:

<php> require_once(„./lib/plugins/sjflickr/phpFlickr.php“); Create new phpFlickr object $f = new phpFlickr(„04561c29c69fbb3e88a2479b40b49845“); Enable transparent caching. # $f→enableCache( # „db“, # „mysql:[DB User]:[DB Password]@[DB Server]/[DB Name]“ # ); enable file caching. $f→enableCache(„fs“, „/usr/home/ami6de/public_html/ami6.de/lib/plugins/sjflickr/cache“);

/*

$person = $f→people_findByUsername(„Dan Coulter“); echo „<p>My most interesting:<br>\n“; Search for most interesting by user_id (in this case, mine) $photos_mine = $f→photos_search(array(„user_id“⇒$person['id'], „sort“⇒„interestingness-desc“, „per_page“⇒100)); foreach 1)

1)
array)$photos_mine['photo'] as $photo) {
  // Build image and link tags for each photo
  echo '<a class="media" target="_blank" href="http://www.flickr.com/photos/$photo[owner]/$photo[id]">';
  echo '<img class="media" title=" Ami6 Photo von $photo[owner]: $photo[title]' alt=" Ami6 Photo von $photo[owner]: $photo[title]' ".
      "src=" . $f->buildPhotoURL($photo, "Square") . " />";
  echo "</a>";
} echo „</p>\n“; # # ################### ab hier weiter ###################### # */ echo „Die <b>neuesten 30 Bilder</b> zum Ami6:<br/>&nbsp;<br/>\n“; # echo „<p>Most interesting photos tagged with \“red\„:<br>\n“; Search by the single tag „red“ $photos_red = $f→photos_search(array(„tags“⇒„ami6“, „sort“⇒„date-posted-desc“, „per_page“⇒30)); foreach ((array)$photos_red['photo'] as $photo) {
  $owner = $f->people_getInfo($photo['owner']);
  // Build image and link tags for each photo
  echo '<a class="media" target="_blank" href="http://www.flickr.com/photos/'.$photo[owner].'/'.$photo[id].'">';
  echo '<img class="media" title="Ami6 Photo von '.$owner[username].': '.$photo[title].'" alt="Ami6 Photo von '.$owner[username].': '.$photo[title].'" src="'. $f->buildPhotoURL($photo, "Square") .'" />';
  echo "</a>";
  $i++;
  // If it reaches the 10th photo, insert a line break
  if ($i % 10 == 0) {
      echo "<br/>\n";
  }
} echo „<br/>&nbsp;<br/>\nDie (nach Meinung von Nutzern bei Flickr) <b>interessantesten</b> Bilder zum Ami6:<br/>&nbsp;<br/>\n“; Search by the single tag „ami6“ $photos_red = $f→photos_search(array(„tags“⇒„ami6“, „sort“⇒„interestingness-desc“, „per_page“⇒150)); foreach ((array)$photos_red['photo'] as $photo) {
  $owner = $f->people_getInfo($photo['owner']);
  // Build image and link tags for each photo
  echo '<a class="media" target="_blank" href="http://www.flickr.com/photos/'.$photo[owner].'/'.$photo[id].'">';
  echo '<img class="media" title="Ami6 Photo von '.$owner[username].': '.$photo[title].'" alt="Ami6 Photo von '.$owner[username].': '.$photo[title].'" src="'. $f->buildPhotoURL($photo, "Square") .'" />';
  echo "</a>";
  $i++;
  // If it reaches the 10th photo, insert a line break
  if ($i % 10 == 0) {
      echo "<br/>\n";
  }
} # echo „</p>\n“; /* echo „<p>Most interesting in a full text search for \“cat\„:<br>\n“; Search for most interesting photos with the text „cat“ $photos_cat = $f→photos_search(array(„text“⇒„cat“, „sort“⇒„interestingness-desc“, „per_page“⇒6)); foreach ((array)$photos_cat['photo'] as $photo) { Build image and link tags for each photo
  echo "<a href=http://www.flickr.com/photos/$photo[owner]/$photo[id]>";
  echo "<img border='0' alt='$photo[title]' ".
      "src=" . $f->buildPhotoURL($photo, "Square") . ">";
  echo "</a>";
} echo „</p>\n“; echo „<p>Most interesting photos today:<br>\n“; Search for most interesting photos of today $photos_interesting = $f→interestingness_getList(NULL, NULL, 6); foreach ((array)$photos_interesting['photo'] as $photo) { Build image and link tags for each photo
  echo "<a href=http://www.flickr.com/photos/$photo[owner]/$photo[id]>";
  echo "<img border='0' alt='$photo[title]' ".
      "src=" . $f->buildPhotoURL($photo, "Square") . ">";
  echo "</a>";
} echo „</p>\n“; */ </php> PS:
Die Bilder werden entsprechend der Verschlagwortung der Autoren herausgesucht, wenn sich also andere Nicht-Ami6-Bilder hier einfinden, liegt das an den Autoren… ;-) PPS:
WICHTIG - Es gelten die Nutzungsbedingungen / Copyright / Intellectual Property Rechte etc. von Flickr. Flickr Bilder Galerie Photos
flickr.txt · Zuletzt geändert: von 127.0.0.1