Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #467

    Hi,

    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?

    For example:

    http://tinyurl.com/255hvnn

    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.

    Thanks

    #31507

    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 Dude

    #31508

    You made my day, thank you very much! Have thought, this belongs only to the post thumbnail image. Works fine now for all other text images, too.

    Thanks a lot, Dude.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to get the lightbox effect of post-thumbnail-image to images inside a post’ is closed to new replies.