How can I open any image any video regardless wherever it is in site (without writing code -one by one attribute/tag which is very annoying) to the lightbox? Is there any simple tricks in configuration settings?

Thanks.

Comments

stella’s picture

Status: Active » Fixed

Well there is automatic image handling built in for images added to the site for certain modules (image, acidfree, flickr, image_assist, etc) which can be configured at admin/settings/lightbox2/automatic If using imagefield + imagecache, you can also configure the display settings so the images open in a lightbox when clicked via the content type CCK field settings, or for in Views, via the view config. Ditto with images provided using the emfield image module.

For videos, there's no automatic video handling, except for those videos added to the site using the emfield video module - again this can be configured in the display settings for that field in the content type, or in the views config if applicable.

Cheers,
Stella

Yuki’s picture

Thanks for the reply. As I am using phots module(http://drupal.org/project/photos) which is not listed. How can I integrate photo module to lihgtbox2?

dbeall’s picture

I really don't like bothering people.. been reading--searching-- I was trying to open images in new window with regular expressions in project/extlink, I did get that working..But it would be so cool to have it in lightbox
it seems this module is very complicated at first look through all the settings..wow.. I looked through the issue que and I have read the documentation and now I am lost..
Is there some kind of way to get image attachments to open w/lightbox.. referring to attachments on comments, forum posts or nodes(content types).just like the attachments used here on Drupal.
thank you..dave

stella’s picture

@dbeall: please open a separate support request for your query. Thanks. And don't forget to add info on how images are being added to the site.

stella’s picture

Title: How can I open any image any video » Integrate with the 'photos' module
Category: support » feature
Status: Fixed » Active