View Full Version : Lightbox problems with wordpress
nerdjnerdbird
09-12-2006, 10:36 AM
I auto install wordpress and I try installing any of the lightbox plugins for wordpress but none of them are working. It only displays text with the image name and doesn't even link to the image. Does anybody know how this might be solved?
Thanks
Sebastian
09-12-2006, 11:36 AM
I'm using this lightbox plugin and it works without problems
http://zeo.unic.net.my/notes/lightbox-js-version-20/
Remember that Lightbox only works with links. So usually you want to have a thumbnail that links to the full size image. The href-tag needs to have a rel="lightbox" inside.
A proper html code would like like this:
<a href="http://www.yourdomain.com/blog/images/image.jpg" rel=”lightbox” /><img src="http://www.yourdomain.com/blog/images/image_thumbnail.jpg" /></a>
I also recommend the ImageManager for Wordpress:
http://www.soderlind.no/archives/2006/01/03/imagemanager-20/
The ImageManager creates a thumbnail and puts the rel="lightbox" in the tag automatically.
nerdjnerdbird
09-12-2006, 12:27 PM
You, my friend, are my hero. You have just made my week, thanks a lot man!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.