10 years ago
2
Topic

Hi,

I am using images on the frontend of my website, which ideally should open in a lightbox, which i learnt colorbox does in Seblod. The problem is it works on the back end, that is, when I upload images in the custom content type, i can see the preview of the image in a colorbox, but on the frontend,clicking on image opens it up in a different page altogether, although, i have not made any changes in the field type.

Just for info, the Typo for the particular image is set to image. I am unable to figure out what to do. 

Any suggestions would be greatly appreciated. 

Thanks a lot.

Get a VIP membership
10 years ago
1
Level 1

Hi vimal,

Thank you for your post and sorry for the delay of this response.

If i understand your post, you have a javascript error in your webpage. This error can be caused by anything, template, custom code, ...

Please check with firebug for example the nature of this error.

Regards,
Mehdi.

10 years ago
0
Level 2

Hi Mehdi,

Thanks for the response. Actually I figured out what was wrong, and you are exactly spot on with your guess. I was loading the jQuery library twice in my templates index.php, which was causing error. On checking the console in Chrome, I figured out colorbox() was not recognized. Removed the additional include of jQuery and everything was back in place.

Thanks for your time though. 


Regards,

Vimal

Get a VIP membership