The rel=lightshow[][] part is being made html safe and stopping the lightbox from working. The code it produces is as follows...

Only local images are allowed.

Thanks
Will

Comments

stella’s picture

Status: Active » Postponed (maintainer needs more info)

Can you ensure that you are using the latest dev version of the module? Please also paste the code within <code> tags. More info needed.

Cheers,
Stella

willeaton’s picture

Hi Stella, sorry, I think I made this ticket a bit prematurely. I think the code is actually ok with the html characters being made safe (code below just in case). I now realise that the problem I've actually got is that lightbox is not being called into the page. Shouldn't there be some css and js files included? I've been through all the settings etc. What variable (i.e. $footer) are these files included into? This is the latest devel version upgraded from the latest official release about an hour ago.

rel="lightshow[][&lt;a href=&quot;/node/67&quot;&gt;View Image Details&lt;/a&gt;]"
stella’s picture

Status: Postponed (maintainer needs more info) » Active

You need to ensure the pages lightbox2 is loaded on is correctly configured - please see the "page specific lightbox2 settings" on admin/settings/lightbox2.

By default Lightbox2 js files are loaded in the header and so will be in $scripts variable in the theme layer. You can change this so it is loaded in the footer instead under the "Advanced settings" on admin/settings/lightbox2. It's probably in the $footer or $closure variables in this case. The css files are always in $styles variable.

Cheers,
Stella

willeaton’s picture

I am sooo sorry, I had already been through all of that and misread it, I thought I had told it to load on every page but in actual fact I had selected the other. That was the first thing I thought of when looking. Thanks for your help and sorry I wasted your time.

Would also like to say that I am very impressed and very grateful at your quick responses, some people normally take days to respond. You've saved me a lot of time!

thanks
Will

willeaton’s picture

Status: Active » Closed (fixed)