Geschrieben um: 20:48 Uhr | 742
Lightview Plus (en)
Mai
Diese Seite ist auch in deutsch verfügbar!
Lightview Plus is a wordpress plug-in which integrates Lightview into your wordpress blog and automatically changes all image links, so the images will open with lightview. Now, it is possible to show videos from YouTube and Vimeo with lightview.
Installation
- Copy the lightview-plus directory to the wordpress plug-in directory under /wp-content/
- Download Lightview javascript and decompress it
- Copy the directories „css“, „images“ and „js“ of the decompressed folder to /wp-content/plugins/lightview-plus/
- Activate the plug-in in the plug-in menu
- That’s it!
Update
To backup the lightview javascript on update, it is possible to activate a backup function in the options menu.
Embed Images
- Choose an image of your choice, as you have done it in wordpress many times
- Create a link with this image to a bigger version of this image
- All the rest is done from lightview-plus automatically
Embed Videos
- Click the new button „Embed Video“

- In the pop-up choose the portal you want to use (at the moment only YouTube and Vimeo. More in one of the next version).
- Insert the video id
- Choose, if you want a link text under the video
- Enter the link text
- Click INSERT
Find out the Video ID
- YouTube: http://de.youtube.com/watch?v=DYgZOY2g27w
- Vimeo: http://www.vimeo.com/1573042
Example for Video
Download
You find the current version under wordpress.org
FAQ
Nothing is opened with lightview?
In you theme the <?php wp_head(); ?> is missing. Please, add it.
Images are still not opened with lightview!
Maybe an other plug-in uses jQuery or an older version of prototype oder scriptaculous. Deactivate the plug-ins or let me know if you found an alternative.
I added images to my text, but they are not clickable and they are not shown with lightview.
You have to create a link to the image. E. g. create a link from the image to the same image or a bigger one.
Is there a jQuery version of lightview?
I am not the author of lightview. I have done a wrapper for wordpress. Please, ask the author of lightview and let me know about the alternative.
Lightview does not work in browser xy on OS yz. / How do I change the display of lightview?
I have no look into the lightview javascript code. Please, ask the author of lightview.
Current Version
The actual version is v2.5.3.2. Now, it supports YouTube, blip.tv and Vimeo videos.
Translation
Everyone is invited to send me a translated language pack of lightview-plus. Now, we have the following languages integrated:
- German — myself
- Italian — Gianni Diurno
- French — Martin Vauchel
- Turkish — Cem Gedik
- Portuguese/Brasil — Eduardo Enrietti
- Russian — M. Comfi
- Dansk - Georg S. Adamsen
- Spanish — Eduardo Vázquez
- Dutch - Rene
Donate
If you think this plug-in is useful or you want support, don’t hesitate to donate. Lightview Plus has required a great deal of time and effort to develop. If it’s been useful to you then you can support this development by making a small donation. This will act as an incentive for me to carry on developing it, providing countless hours of support, and including any enhancements that are suggested. If you don’t have a clue how much you want to spend, the average of the last donations were €8. But every other amount is welcome. Please note, that PayPal takes for every transaction round about €0.50. So every donation below €1 is only a donation to PayPal
Further you have the options to have a look at my amazon wishlist.



Hi there!
I use this plugin for quite a while now, with pleasure!
I’ve been doing some research on how to speed up my website.
I used YSlow with it as well and I saw that the prototype.js file is about 127kb file size.
So I am wondering, are you able to do some minify-ing magic?
I woulde be very gratefull!
Kind regards,
GJtje
@ezra
I don’t understand your problem. You read the instructions above?
@GJtje
Within the first versions of lightview-plus I used protoculous. A packed version of prototype and scriptaculous. But I this version didn’t work with the new lightview-javascript. If you have any ideas, let me know!
hi there
love this plugin!
Is there a way to use an image thumbnail for videos instead of a text link?
Thanks,
Ian
The script gets the thumbnail image automatically. There is only a text link under the thumbnail. Please, show me a example on you page…
Hi,
I just tried version 2.3.
Unfortunately it seems to break support for NextGen Gallery — the Lightview effect does not show up for pictures from a NGG Gallery. Pictures which are directly inserted still work.
I downgraded to 2.2 and everything works fine again.
Any ideas?
Go to your Admin Panel.
Go to Options within NGG.
Select the effects tab.
Set Javascript thumbnail effect to custom.
Put this text in the textarea:
class=‚lightview‘ rel=gallery[%GALLERY_NAME%]
Works like a charm for me on WP 2.7.1 and latest lightview and NGG.
@GJtje:
This was not necessary with version 2.2.
I had NGG set up this way earlier, but for me it breaks the XHTML compliance of my site, since it causes the „class“ attribute of the images to be set twice. Might not be a real problem, but I like my blog to be valid XHTML …
(There is some discussion about that in the comments for the German version of this article)
Then you should add two classes:
class=’lightview other-class’ rel=gallery[%GALLERY_NAME%]
This does not work as well, since there would still be two class (and also two rel) attributes.
But:
In fact it looks like version 2.3 actually fixed the problem (double attributes), for which removing the code from the NGG settings was my workaround.
I re-upgraded to 2.3 now, and changed the code in the NGG settings to
class=„lightview“ rel=„gallery[%GALLERY_NAME%]„
(not the double quotes).
This seems to produce XHTML-compliant code again …
Thanks for your help!
macplanet
HI
Is it possible to see a changelog of what changed between 2.2.1 and 2.3?
Thanks
Have a look here:
http://wordpress.org/extend/plugins/lightview-plus/other_notes/
I think there’s a problem with Lightview where during the loading of the page, clicking on a picture would cause the browser to link to the picture directly instead of running the Lightview script.
Xiao, this sounds like a javascript conflict. Maybe you use jQuery, too. Or have you deactivated loading prototype and scriptacolous in the lightview-plus admin menu?
i get this error when i try to activate the plugin
Fatal error: Cannot redeclare class simplexmlobject in /mnt/102/sda/1/9/farfromrefuge/wp-content/plugins/lightview-plus/simplexml.class.php on line 8
Someone can help?
After checking my installation again, it seems that lightview plus doesnt work anymore on wp 2.7.1
Hi Martin, lightview-plus works with wp 2.7.1. This blog is a wp 2.7.1 installation and it works with lightview plus.
What version of lightview plus do you use? Or have you edit something in the lightview-plus.php file?