Jetzt habe ich die Seite doch wieder gefunden http://www.motorgeraete-laemmel-drebach.de/
Dort funktioniert die Lightbox 2 auch in der Sidebar. Es gibt folgende Beschreibung von der Lightbox 2 die ich aber leider nicht ganz verstehe und somit noch nicht umsetzen konnte:
- You can use WordPress image galleries and have them grouped and auto-lightboxed: [gallery link="file"]
- You can also add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a> Optional: Use the title attribute if you want to show a caption. - If you have a set of related images that you would like to group, simply include a group name in the rel attribute. For example:
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a> <a href="images/image-2.jpg" rel="lightbox[roadtrip]">image #2</a> <a href="images/image-3.jpg" rel="lightbox[roadtrip]">image #3</a> No limits to the number of image sets per page or how many images are allowed in each set. Go nuts! - To disable lightboxing of an image link, just set any other rel-attribute: rel="nobox"
Wenn ich folgendes mache, erscheint nur ein Textlink aber kein Vorschaubild auf das ich klicken kann:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>