[resolved] Lightbox not working for Gallery images (5 posts)

  1. js
    Posted 4 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?


  2. Wansbrough
    Posted 4 years ago #

    This would be really useful to have.

  3. noelgreen
    Posted 3 years ago #

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

    $value = '[gallery]';


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

    That works for me.

  4. jbd7
    Posted 3 years 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
    Posted 3 years ago #

    Thank you noelgreen, this did the trick. brilliant.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Postie
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic