is there a possibility, to get the lightbox effect of the post-thumbnail-images of the theme for all images, that I add inside a post’s text?
The red image at the beginning of the post has the NEWSCAST lightbox effect, it is the post-thumbnail-image.
The onion image at the bottom of the post has no effect for a lightbox popup, it is just a normal image adding inside the text.
Is this possible, to get for this images the NEWSCAST lightbox effect, too?
By the way:
I’ve tried for this the “Lightbox2″-plugin, but this causes an error:
Catchable fatal error: Object of class kriesi_option_pages could not be converted to string in /homepages/25/d13574400/htdocs/multisites/wp-content/plugins/lightbox-2/options.php on line 18
For this it would be great, if I can use for my images in posts’ texts the integrated lightbox effect of NEWSCAST theme.
Just add rel=”prettyPhoto” to your a href tags. Example:
<a href="images/fullscreen/2.jpg" rel="prettyPhoto" title="This is the description"><img src="images/thumbnails/t_2.jpg" width="60" height="60" alt="This is the title" /></a>
For more examples please visit: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
Please also have a look at the documentation i.e. lightbox usage is described there.
The topic ‘How to get the lightbox effect of post-thumbnail-image to images inside a post’ is closed to new replies.