Lightbox2 is not working unless I either use a FQD name or set a URL path. I have the same exact problem with Shadowbox also.

Comments

stella’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide me an example of what HTML you are trying to use please?

stella’s picture

Also try using the latest Lightbox2 6.x-1.6 release.

Cheers,
Stella

marcparker’s picture

Hi Stella, I am using this code for the Lightbox:

<a href="images/prattpark.jpg" rel="lightbox" title="Pratt Park Swans">More Pictures...</a>

Thanks,
Marc

stella’s picture

Does the file "images/prattpark.jpg" exist in your drupal directory?

Can you send me the url of your site - it's the quickest way of debugging. My contact form is enabled if you'd prefer to send it to me that way.

Cheers,
Stella

dman’s picture

You should probably link to the file using an url() call. That 'relative' link is probably only going to work on your very front page.
What created that HTML? If you did it by hand, you probably do have to fix it to use an actual path that can resolve.

marcparker’s picture

Category: support » bug
Status: Fixed » Postponed (maintainer needs more info)

I am getting blind in my older years. My href URL was not fully formed. It should have been "../images/prattpark.jpg" it worked fine if I aliased the URL as it was located in the root directory with my Drupal install. It failed to work the default way because it was placed below the root directory in the node directory. Stella, I appreciate all of your assistance and there of course is no bug in the module just in the old programmer/analyst known as Me.

Thanks,
Marc

stella’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

No worries. Thanks for letting me know.

Cheers,
Stella

Anonymous’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Closed (fixed)

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