Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #931

    Hi!

    I’d like that all linked images in posts open in prettybox. The first image is allways the featured image and that one is ok, but all other images don’t get the ” rel=’lightbox’ ” attribute.

    Could someone take a look and give me a hint, please?

    #33407

    Sorry, link to my test page: http://zlataleta.com/test/testna/

    #33409

    You need to add the rel=’lightbox’ attribute manually. When you add an image with your html editor to your page use something like:

    <img src="your-image.png" rel="lightbox" alt="" title="" />

    The Dude

    #33410

    Is there no way to do that automaticaly? I know that a plugin for WordPress can do that.

    #33411

    Ok, I found this plugin: http://wordpress.org/extend/plugins/add-lightbox-title/

    You need to write your images in a link though – otherwise the lightbox can’t open it – example code:

    <a href="http://dl.dropbox.com/u/2025095/alwaysonline/avisio/small1.jpg"><img class="alignleft" title="Image Title" src="http://dl.dropbox.com/u/2025095/alwaysonline/avisio/small1.jpg" alt="" width="200" height="130" /></a>

    The Dude

    #33412

    Great, thanks!

    #33413

    No problem.

    The Dude

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

The topic ‘Problem with PrettyPhoto – no automatic rel=lightbox’ is closed to new replies.