Questions tagged [lightbox2]

Lightbox 2 is a JQuery-script developed by Lokesh Dhakar used to display images in an overlaying box. It can also be used to make galleries and can be found at www.LokeshDhakar.com/projects/lightbox2

452 questions
3
votes
1 answer

Drupal- load a node in a Lightbox?

How should I load a node in a lightbox? I managed with this: Size Dimensions But I need to theme the lightbox and when I copy page-node-lightbox2.tpl.php to…
Evanss
  • 23,390
  • 94
  • 282
  • 505
3
votes
3 answers

jQuery Lightbox2 not working

I don't know why LightBox is not working. When I click on the image, it goes to the link of the page, rather than have the "lightbox" fade-in to show the image. I console.logged and I get no error messages. P Gallery | View Portfolio …
Ben Wong
  • 691
  • 2
  • 19
  • 29
3
votes
1 answer

lightbox2 doesn't open image in lightbox

I try to integrate Lightbox2 in an existing website. Head Code:
Jan Donath
  • 33
  • 1
  • 3
3
votes
1 answer

jquery lightbox opening HTML content instead of an image

is it possible to open a lightbox window which contains HTML content rather than just an image like in the demos? The example listed: Image #1 Will open the image…
dtsg
  • 4,408
  • 4
  • 30
  • 40
3
votes
1 answer

Lightbox 2 redirects me to the image file

I have a problem with lightbox. After clicking the image file it just redirects me to the image. This is the code in the cshtml. The href and src's values are automatically being inserted…
3
votes
3 answers

Lightbox image download

I am using Lightbox 2 on several image galleries. I would like to provide a way for my users to download the images in the gallery while they are viewing them in the Lightbox. A "Download" button would be perfect, and I picture it down near the…
dodgertodd
  • 33
  • 1
  • 4
3
votes
3 answers

Lightbox: how to translate 'Image x of x' text?

I'm using Lightbox 2 for an image set. When a visitor of my website clicks on a thumbnail in that set, it'll show: The enlarged version of the image Underneath that: the description (taken from the title attribute) Underneath that: the text…
Edward Touw
  • 773
  • 1
  • 6
  • 10
3
votes
1 answer

LightBox v2 shrinks the image in the box

I'm currently working on the small gallery site for myself and to display each image I decided to use the LightBox v2 plugin. http://lokeshdhakar.com/projects/lightbox2/ But unfortunately, it is not simple as I would like. The plugin works, I mean,…
TheJailbreakBay
  • 53
  • 1
  • 10
3
votes
5 answers

How to always display nav buttons on Lightbox 2?

Im using Lightbox 2 http://lokeshdhakar.com/projects/lightbox2/ What i want is when Lightbox 2 is oppened it always shows the nav buttons. I tried to look on CSS but theresnt any display:none in the elements .lb-nav, .lb-prev, .lb-next in fact…
Ramon Vasconcelos
  • 947
  • 3
  • 14
  • 31
3
votes
1 answer

lightbox2 not displaying image after clicked

I have no idea what I am doing wrong but I am trying to use lightbox2 on a simple gallery. I have stripped the page down to nothing trying to figure out why lightbox is only giving me the overlay but not displaying the image. This is the page…
bezierer
  • 398
  • 5
  • 13
3
votes
5 answers

Lightbox 2.51 - how to move close button and image number to the top?

I'm using Lightbox 2.51 and I can't find a solution to move lb-dataContainer with close button and current image number etc to the top I only found solutions for the old versions. Code can be found here:…
user1327
  • 938
  • 3
  • 10
  • 28
3
votes
6 answers

how to make lightbox2 responsive

I looked here: http://drupal.org/node/1630630 but this is only for Drupal sites. Does anybody know how to tweak the regular lightbox2 library to make it responsive and display on small mobile screen? by "responsive" I mean that the picture should…
camcam
  • 2,585
  • 8
  • 49
  • 65
3
votes
1 answer

Using Lightbox2 to display video

Site: http://blieque.comli.com/motion Before I start, I know there are many alternatives to Lightbox2 (Lokesh Dhakar's) to display videos but I want to avoid using three different JavaScript things, already using MooTools and JQuery as I'd like to…
Blieque
  • 670
  • 7
  • 28
3
votes
2 answers

Trigger lightbox with javascript

I want to use this library: http://lokeshdhakar.com/projects/lightbox2/ I can't attach rel="lightbox" to each image so I want to use jQuery to trigger the lightbox. I was thinking about something like: $('img').click(function(){ //triger lightbox…
XCS
  • 27,244
  • 26
  • 101
  • 151
2
votes
2 answers

JavaScript Pop-up box vs Light box?

Hello cool so I think I have a good question for a bit of a debate. I am currently looking for a good method for displaying something important - terms and conditions for a product - so when a client comes to a page in order for them to access to…
legendary_rob
  • 12,792
  • 11
  • 56
  • 102
1
2
3
30 31