WordPress.org

Ready to get started?Download WordPress

Forums

Postie
Lightbox not working for Gallery images (5 posts)

  1. js
    Member
    Posted 2 years ago #

    Hi Guys,

    I'm using the postie plugin to post via email and when I post with images, they aren't opening in a lightbox.

    I've got the lightbox 2 plugin installed, but not sure if this is the right one..

    I've tested this on multiple themes including the default, with no luck.

    I've also tested this using Posterous to WordPress which bypasses Postie plugin and this displays the images fine in a lightbox..

    Can anyone provide some assistance?

    http://wordpress.org/extend/plugins/postie/

  2. Wansbrough
    Member
    Posted 2 years ago #

    Bump......
    This would be really useful to have.

  3. noelgreen
    Member
    Posted 1 year ago #

    Change line 1823 in the "postie-functions.php" file from...

    $value = '[gallery]';

    to....

    $value = '[gallery link="file"]';

    That works for me.

  4. jbd7
    Member
    Posted 1 year ago #

    I had the same question too. I use colorbox and for it to work there is only "rel=lightbox" needed in each image.

    Within the Postie options, tab Image, you can change the code of the image display to:

    <div id="attachment_{ID}" class="wp-caption alignleft" style="width: {MEDIUMWIDTH};"><a <strong>rel="lightbox"</strong> href="{FULL}" ....

    That makes it work for me.

  5. gsoundsgood
    Member
    Posted 1 year ago #

    Thank you noelgreen, this did the trick. brilliant.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic