I have been searching for hours for a solution but have yet to come across any posts that could help.

I have Lightbox2 installed along with FCK editor.

I have the light box setting for automatic image handling of inline images set to lightbox grouped

I add my images into the Body content and scale them to fit, they are then set to pop up in a lightbox to reveal the full sized image, which works fine. Only problem is i cant get multiple photos int he same inline content to be grouped so the user can easily click the next button to go through the sequence of images.

This is for my Web comic which I currently have set up through (uhhhg) blogger but it works fine in blogger. I have linked images to the full images and i use the rel="lightbox[groupName]" and the images get a little pop up next or previous button to display only the images in that episode. I would like to achieve the same thing with my inline images on my new drupal site.

you can see the current set up on the blogger page here
http://worldsbeyondthegrave.blogspot.com/

i want this exact set up for my drupal install , but i just can't get the images i place through fck to group... they pop up fine in light box but you need to close light box and click the second image to bring it up , no navigation.

(i would link to my drupal test page but it is on my local host)

Comments

timjh’s picture

I have the same problem: http://thesibfords.org.uk/page/april-2010

I am also using lightbox2 6.x-1.9, with FCKeditor via Wysiwyg 6.x-2.1.

euchrid9’s picture

I hope this post I created here will help you: http://drupal.org/node/832502

Sorry it is so long. It is not as complicated as it looks, though!

You can see the end result at my site: www.euchrid.co.uk

In essence, you create a mini gallery with Views, and hide it with CSS. The method should be adaptable to your situation. Hope it helps!

stella’s picture

Status: Active » Fixed

@Caderial - looks like you got it working as it's certainly working on your site now

@timjh - your problem is that you're using rel="lightbox" rather than rel="lightbox[mygroupname]" to group the images.

timjh’s picture

stella - many thanks for your response. Yes, I now understand that use of a groupname might well solve the problem. The difficulty is that I have not knowingly inserted the rel attribute at all. The node content does not even wrap the images in anchor elements. My assumption was that enabling "Lightbox grouped" as the Automatic handler for Inline images on the Lightbox2 configuration page is all I need do. As the configuration page says: "This removes the need for you to add 'rel="lightbox"' to each image link throughout your site."

Incidentally, the configuration page also says "You can select which image sizes will trigger the lightbox" but there is nothing on the configuration page that relates to image sizes. I do rather lose confidence in the module, which is a pity, because I really like the lightbox effect when it does work.

stella’s picture

Which drop-down are you looking at? The one under the 'Image node settings'? because that says Select which image size, when clicked on, will automatically trigger the lightbox. This only applies to images uploaded with the Image module. - you have to use the Image module for that section.

timjh’s picture

Sorry, yes of course. I don't have the Image module installed on that site. I could be picky about how the text at the top of the configuration page does not mention that it only applies to the Image module, and not all the drop-downs relating to Image module are suppressed when it is missing - but I'd much rather have your help in resolving the inline images problem :-).

stella’s picture

There is no such drop-down for "inline images" (means inline module btw), so not sure what you're referring to. screenshot? In any case upgrade to 6.x-1.10

timjh’s picture

I think we have started talking at cross-purposes - my fault for introducing the topic of image sizes. Can we go back to the original problem, which is that the Automatic handler for inline images just does not work for me? I really appreciate you sticking with me on this.

I have just installed Lightbox2 6.x-1.10 on my current test site. I have a node with a dozen images embedded inline using IMCE. The node content includes anchors around preview-size images; the anchors link to the full size image. I have enabled "Lightbox grouped" as the Automatic handler for inline images. It has absolutely no effect: I can see in my browser that the lightbox2 js is being loaded, but the image html is not modified in any way, and when I click on an image the full-size image gets loaded into a new page, as you would expect without Lightbox.

stella’s picture

It looks like the auto_image_handling.js script is not being loaded on that page. With your description of the settings it should be (provide settings screenshot perhaps). However you're also compressing your js files so perhaps it's just a simple matter of clearing that cached file - try uncompressing and seeing if it works or not, and then recompressing and test again.

timjh’s picture

Uh-oh, is this all a misunderstanding of the term "inline"? By "inline" I simply mean that I have Only local images are allowed. tags embedded in node content, but perhaps Lightbox2 is referring to use of the Inline module http://drupal.org/project/inline, which I have not installed.

If that is the problem, then I think I can make Lightbox2 work for me using Custom class images, and we can all go to bed.

stella’s picture

Yes it's referring to the inline module - so triggers happens based on classes. I'll change the UI text to make this clearer. So if adding images yourself, then change your rel attribute to include a group name.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

baugabri’s picture

Thank you for your help, I really appreciate :)

Now my site is working fine.