
(Click here for english description)
Download
Última versão: 0.9
Change Log
0.9 – 16/06/2009
- Desactivado o “override” do jQuery no Wordpress 2.8.
0.8 – 15/06/2009
- Removida a mensagem de aviso de upgrade ao Internet Explorer 6.0.
0.7 – 04/05/2009
- Actualizado o jQuery Lightbox para a versão 1.3.7.
0.6 – 20/04/2009
- Actualizado o jQuery Lightbox para a versão 1.3.6.
- Actualizado o jQuery para a versão 1.3.2.
- Adicionado suporte para as galerias nativas do Wordpress.
0.5 – 06/01/2009
- Actualizado o jQuery Lightbox para a versão 1.3.5.
0.4 – 24/08/2008
- Adicionado suporte para o Wordpress 2.6.
0.3 – 25/05/2008
- Adicionado suporte para o Wordpress 2.5.
0.2 – 17/01/2008
- Actualizado o jQuery para a versão 1.2.2.
- Adicionadas instruções de instalação.
0.1 – 10/01/2008
- Primeira release!
Acerca
Tal como o nome indica, é apenas a versão para o Wordpress do jQuery Lightbox Plugin escrito por balupton, funcionando na perfeição com o Wordpress 2.2 ou versão superior, e totalmente compatível com o K2!
Instrucções
Basta fazer o download do plugin, descompactar os ficheiros para a pasta wp-content\plugins e activar o plugin nas opções do Wordpress.
Depois, sempre que queira utilizar o efeito Lightbox, basta colocar um link para a imagem, e colocar o atributo rel=”lightbox” na mesma para que o efeito seja activado ao clicar no link. Pode também utilizar rel=”lightbox-album” substituindo album por uma qualquer palavra para agrupar algumas imagens num álbum.
Exemplo
Clique na imagem em baixo!
Exemplo de código HTML:
<a href="image.png" title="Image Title" rel="lightbox"><img src="image_thumbnail.png" alt="Image Title" /></a>
Agradecimentos
Versão original do jQuery Lightbox Plugin desenvolvida por Balupton.

hi. Thanks for plugin
perfect.
Regards
Is there a way to make it automatically work for any picture link and so you don’t need to add the rel=”lightbox”?
Thanks
I’m not sure if Balupton (the original jQuery Lightbox code) implemented such a feature, but I’ll check it with him!
Olá
Por que as legendas das fotos não aparecem? (somente “untitle”)
p.s: estou usando com next gen gallery
Aguardo resposta
obrigada
@isa
A legenda é feita automaticamente dos elementos “title” nos links… vê no exemplo em cima onde diz “title” é esse o texto da legenda!
Pedro, obrigada por responder.

Estou usando nextgen gallery e as 2 opções do plugin “descrição” e “texto alternativo alt e title” estão preenchidas em todas as fotos da galeria,mas nada aparece
Apenas “untitle”.
Como mostrar legenda?
@isa
Não é o “alt” e “title” das imagens (os elementos “img”), mas antes dos links (os elementos “a”)…
Boas,
Para já parabéns pelo plugin. A minha questão é saber onde é que posso alterar alguns settings, como a opacidade do background, os botões, etc, etc. Penso que algumas coisas é no CSS, mas outras não!
Obrigado!
Tudo pode ser alterado mediante CSS, especialmente se utilizares as classes de CSS associadas aos elementos!
Por outro lado, podes editar o plugin e modificar os parâmetros de inicialização para utilizar classes de CSS específicas!
Está a acontecer uma coisa estranha, quando adiciono rel=”lightbox” á imagem, chama a função duas vezes, que resulta na imagem em modal 1 sobre a outra! Agradecia uma ajudinha aqui!
estou a usar o wordpress 2.7
Obrigado
Envia-me o endereço da tua página (se quiseres utiliza o formulário de contacto) com um exemplo desse problema para que eu possa ver o que se passa e melhor te ajudar!
Quando clico na imagem, nao aparece o tamanho real aparece menor do que ja esta, como resolver ?
A única razão que vejo para isso acontecer será de que a própria imagem é pequena… verifica se o link não está a apontar para o thumbnail da imagem que pretendes!
E se eu não quiser link embaixo da foto?
Bem, tendo em conta que o plugin em si não tem quadro de opções, terás de editar o ficheiro .js para poder modificar o seu funcionamento de base!
Obrigado pelo Plugin, Pedro.
Se aceita uma sugestão: Use o jquery API do Google nas proximas versões, se for possivel.
Link > http://code.google.com/intl/en/apis/ajaxlibs/documentation/
This is a great plugin thanks!
Thanks for a great plugin! I tried so many lightbox plugins and finally this one worked for me…
Olá amigão,
primeiramente gostaria de parabenizar a iniciativa de um projeto tão belo quanto o jquery! Estou utilizando a última versão e até agora está funcionando bem, no entanto, não sei como deixar a tela limpa, sem os créditos do balupton. Ex: jQuery Lightbox Plugin (balupton edition) – eles aparecem em todas as minhas imagens.
Você poderia me informar onde eu posso alterar essa configuração?
Desde já agradeço-lhe a atenção. Um abraço.
Obrigado!
Para remover esse texto adicione o seguinte código à sua folha de estilos CSS:
#lightbox-overlay-text-about {
display:none !important;
}
Graaandee! Funcionou perfeitamente!! Sem palavras… Muito obrigado pela dica amigão! Já estava a algum tempo quebrando cabeça atrás da solução e você resolveu em duas linhas. Muito obrigado!
Works great, thank you
Hi,
i get an error (expectes ‘J’) in IE 8.0 on line 8 Char 50…
http://www.diegoldenegans.com/dgg/wp-content/plugins/jquery-lightbox-balupton-edition/js/jquery.lightbox.min.js?ver=1.3.7
diegoldenegans.com/dgg/
I don’t know what to do.
can you help`? Thanks!
The file “jquery.lightbox.min.js” has been “text wrapped” and/or reencoded…
So please try reinstalling the plugin and check it again!
Javascript error with Internet Explorer 8 release version.
Please remove it, this site doesn’t exist any more.
—
Message: Syntax error
Line: 3
Char: 1
Code: 0
URI: http://www.savethedevelopers.org/say.no.to.ie.6.js
Bug confirmed, will be fixed on the next version!
Be aware of this script! Norman is reporting TROJAN on this one.
There is NO trojan or virus on the scripts… Get a *real* antivirus, like Norton or Kaspersky Antivirus!!!
Olá Pedro. Estou usando o lightbox em site mas nao estou conseguindo colocar link abaixo da imagem junto com a legenda. Como isso é possível?
Saberia me dizer também como faço para ter thumbnails junto com o lightbox, que estes aparecessem de lado numa vertical?
Obrigada,
abraço
Good job with this plugin, easy to use, works great, thanks
Careful, this will break your pages using wordpress 2.7x
That shouln’t happen… Can you give me an example so I can test it?
Would it be possible to allow the plugin to use the jQuery-library 1.3.2 that comes with WordPress 2.8?
Your plugin unregisters WordPress’ pre-installed jQuery 1.3.2 and enqueues its own. Sometimes this causes problems with other WordPress-plugins that use jQuery in any form. For example, it was not possible for me to run your plugin togeter with the Feed reading blogroll on a WP 2.8 blog using the K2-theme.
Fixed!!
Update to version 0.9 of the plugin!
It’s working! Great job
Sort of having a problem. In spite of using rel=lightbox, it still will not display it using Lightbox.
To what element are you appliying the “rel” attribute? The “a” or the “img” ?
Caro amigo Pedro, em primeiro lugar, parabéns pelo POST, me ajudou bastante… mas estou enfrentando um problema, que pra ti talvez seja simples… o site que estou trabalhando: http://www.sofistique.com.br quando eu ativo e trabalho com o lightbox, ele joga todo o site para a esquerda, que na realidade ele é centralizado. É a segunda vez que encontro este problema… em outro site acabei desativando… Poderias me ajudar nisso amigo? fico muito agradecido… Abraços… Neri Ribeiro
Caro amigo, por certo isso trata-se de incompatibilidades com a folha de estilos CSS que tem no tema que está a utilizar! Terá assim que rever o ficheiro CSS para saber o que está a entrar em conflito…
Obrigado Pedro,
vou tentar ver o que tem na minha folha de estilo.
IE8 failure, failure in the black background !!!!!
a couple of questions. my next “n” and previous “p” buttons aren’t working. i see where the JS is in the file and it looks right to me. the “c” for close works fine so not sure what could be the issue. also, i’d like to actually switch it so that the forward arrow and back arrow keys are how that is navigated (instead of n and p). also, at the bottom where it says “Image X of Y” mine is saying “Image NaN of 15″. the “15″ is correct, but not sure where NaN is coming from. one last thing….occassionally the box doesn’t position correctly on the screen. it ends up dropping below the screen just a little. when i go to the next picture or reload, it is always fine. LOVE the plugin, though. thanks for any help.
all apologies….disregard all of my questions. i erased and re-installed and it is working fine. i have no idea what had happened, but this fixed the issue. sorry for troubling you.
No problem, I’m glad it worked well!
Hi, Great plugin, thanx. I have a problem though. The images are not placed in the middle of the white box, they’re like 10px down from top and left. I checked for the reason, can’t find a way to fix it. Using Firefox, also cforms II plugin. Something must be conflicting, dunno what. Would you spare 1 minute to have a look?
Greetings Nick, send me a link to a sample and I’ll see what I can do!
But I can tell you that cforms may conflict with this plugin, I think it’s got something to do with some jquery code of cforms… but I’d also check the stylesheet for some type of problem, though!
Hi Pedro,
I’m thrilled with the jquery plugin but I’m having issues between it and IE7. My site looks fine in all browsers, including IE8 (I quit designing for IE6), but only in IE7 does it corrupt. When viewed in IE7, the footer of my site is pushed to the top of the content area. When I deactivate Jquery plugin, the footer returns to normal in IE7.
Is there a work around for this because I really hate to not use this plugin-it rocks!
Oh, site to check: http:graphicdesignonadime.com. Thanks!
Hi Pedro,
I think I found the solution, but unfortunately, not sure how to fix it in wordpress. I forgot to mention in my earlier comment that not only did the footer corrupt, but images would open but not close. Apparently sometimes IE7 fails to load javascript if a webpage contains “<script type.." tag .
anyway to remedy this??
Greetings, I don’t think it has anything to do with the “script” tags, but running your page thru the HTML Validator (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fgraphicdesignonadime.com) it shows me 3 errors… try to fix them, maybe that will be enought!
I’m using this with the Nextgen Gallery plugin and it works great. However, I can’t figure out how to remove the “download” link while still keeping the title/description. How can I do this?
Hi.
I am using Yur plugin and I have got one question.
Is it possible to remove Untitled link below the picture ?
Or is it possible to change Untilted to uploaded filename ?
Thanks in advance for info.
Just set a “title” tag with a value on the link tag! Example:
a href=”…..” title=”My Title” ……
Your response was ok but I wanted to delete possibility to download.
So I deleted from jquerry.lightbox.js
‘+(this.download_link ? ‘‘ : ”)+’
and from jquerry.lightbox.min.js
‘+(this.download_link?’‘:”)+’
Now I am good.
i am using wordpress 2.8.4 and want to use lightbox for a gallery. i uploaded 11 photos to my page but don’t see how i can add rel=”lightbox-album” album to the page
The page is here:
http://com-int.net/gallery/
I put the following into the wordpress page (in HTML mode) :
These are a few samples of past projects. Click on the individual photos to see a larger picture
rel=”lightbox-album” [gallery]
What am I doing wrong?
For what I can see from the code, the “href” of the links is empty, so that’s the problem… my advice is try disabling some plugins and test it again; it may be some sort of incompatibility!
Hey Pedro,
Any chance of disable the plugin for the homepage? Seems to be a conflict between Jquery and other plugin that I use only for the homepage… any ideas?
Thanks in advance
I don’t have a way of disabling it, but there may be some sort of pluging manager plugin on the wordpress repository that allows to acomplish what you need… but this is only speculation!
Oi Pedro!
Em primeiro lugar deixe-me cumprimentar-te pelo excelente plugin. No entanto há um problema com ele que gostaria que você me ajudasse, se pudesse.
Num artigo recente nosso em http://pararir.com/ferias-politicas-portuguesas/ constato que no Firefox quando clicamos na imagem é feito o seu resize para o tamanho correcto… Quando o faço noutro meu computador que tem o IE7 é feito resize mas apenas no tamanho original do post… Não muito útil…
Haverá maneira de corrigir esta situação?
Cumprimentos
On my site: http://iwblogger.com the jQuery Lightbox just stopped working all of the sudden. Can Anyone tell me why? I’m stumped! Thanks.
thanks for pulign. I added my site and it is working. good share
finally! A Lightbox plugin that works for my website. THANK YOU VERY MUCH!!!
Could I get directions on how to do the lightbox? I don’t understanding the linking part.
Love the plugin, but have an issue with the navigation links and even clicking to close the modal div causing a new window to be opened to the JQuery page for this plugin. It’s sporadic, and doesn’t occur in all browsers.
http://www.chrissykim.com/portfolio/weddings
voce tem mesmo de me ajudar queria fazer isso num wordpress neste aqui
http://joanaimagination.wordpress.com/
mas para testar costumo usar o meu blogue http://hackerssemlimites.blogspot.com/
e nem no blogue que é mais facil consegui tem de me ajudar
será que poderia deixar ai um cósigo com duas imagens para eu ver como se repete e o código nao á maneira de ser um script ou html individual ??? sem ter que por mais nada?
o tipo um código onde eu apenas copie e duplique para mais que uma imagem e seja só mudar o link da imagem para abrir outra seria possivel por isso ai???
tank for your help