Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.5
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
1 May 2008 at 08:40 UTC
Updated:
22 May 2008 at 11:32 UTC
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
Comment #1
stella commentedCan you provide me an example of what HTML you are trying to use please?
Comment #2
stella commentedAlso try using the latest Lightbox2 6.x-1.6 release.
Cheers,
Stella
Comment #3
marcparker commentedHi 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
Comment #4
stella commentedDoes 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
Comment #5
dman commentedYou 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.
Comment #6
marcparker commentedI 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
Comment #7
stella commentedNo worries. Thanks for letting me know.
Cheers,
Stella
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.