Colorbox Bilder lightbox unter Drupal 7

Da Lightbox2 leider nicht auf Drupal7 portiert wird, habe ich mich nach Alternativen umgeschaut und bin auf Colorbox gestoßen.

Das Drupal7 - Modul Colorbox findet man unter der folgenden Adresse:
http://drupal.org/project/colorbox

2 Screencasts zu Colorbox erklären ausführlich und auf verständliche Art und Weise die Funktionsweise:

Colorbox for Drupal 7, part 1: Installation and image field integration from Fredrik Jonsson on Vimeo.

Colorbox for Drupal 7, part 2: Inline images with the Insert module from Fredrik Jonsson on Vimeo.

Unter Drupal 7 existiert noch eine Abhängigkeit, die man lösen muss.
http://colorpowered.com/colorbox/

Den jQuery – Code von http://colorpowered.com/colorbox/latest muss man unter sites/all/libraries entpacken.

Nach der Installation von Colorbox muss muss der lightbox - Effekt noch aktiviert werden. Dieses erreicht man, wenn man beispielsweise unter #overlay=admin/structure/types/manage/article/display den Colorbox – Effekt aktiviert. Wenn man jetzt einen Artikel erstellt und Bilder hoch lädt, werden diese ansprechend in einer Box dargestellt.

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.
  • HTML tags will be transformed to conform to HTML standards.
  • Links to specified hosts will have a rel="nofollow" added to them.

Weitere Informationen über Formatierungsoptionen

Bild-CAPTCHA
Enter the characters shown in the image.