Hi, I have a problem.
When I look through the slide style I show Title ( http://imageshack.us/photo/my-images/220/titlelg.png/ ), but the increase over(zoom in) the Lightbox2 title does not show me (show only Image 1 Image 1 of 10) ( http://imageshack.us/photo/my-images/6/title2k.png/ ).
P.S. I'm sorry for my english

Comments

LoMo’s picture

I can't tell you why it's happening that way, but you might find Colorbox better than Lightbox2 for Drupal 7, anyway. I'd suggest trying that. For most typical images, it's much nicer, IMHO, and Colorbox has had a "stable" release for D7 for a long time, whereas Lightbox2 has only finally got to a "beta" state recently. The use case for long images (e.g. long vertical shots taken of a webpage) is one where Lightbox is better since, as far as I've experienced in the past, Colorbox won't let you scroll down an image like that. But that's a more unusual requirement. For normal photos, I think you'll find Colorbox is a much nicer system... though Lightbox has so many extra features it's likely that there are other use cases Lightbox works better for than Colorbox.

See you at the Drupalcon!

Sairus’s picture

I tried Colorbox, still does not show title.
Do you know how to manually insert the title, I can't find the div with the name of Image 1?
Lightbox2 suitable because it can change the photos like as facebook (next, prev arrow on photo).

LoMo’s picture

In Lightbox, it comes from the "title" attribute, e.g. <img src="http://example.com/files/someimage.jpg"title="Have a look at our nuts!" alt="Pecans, walnuts, almonds, and other assorted nuts from the Nuthouse.com." />I believe Colorbox can also use the alt="..." attribute. If you already have a title="some title" in your image code, I'd try using the latest dev version of the module and see what happens. I haven't had trouble getting captions to appear in either, but it's been a while and such features could get broken and then fixed by a patch.

See you at the Drupalcon!