Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #269039

    Hi, I’m working on an Intranet solution where I’m using Enfold (witch by the way is great :) ).

    A little about what I have done
    First of I had to deactivate* the custom “prettyPhoto” (this because it did not allow the user to download the original image when right clicking the image in “lightbox-mode”). Then I installed the plugin “Lightbox Plus ColorBox” In addition. It now works as I want it to.

    * js>avia.js file:
    //activates the prettyphoto lightbox
    // $(container).avia_activate_lightbox({callback:’avia_lightbox_callback’});

    My problem is with the gallery
    I am using Avia Layout Builder on the page, and I have used the Gallery (under Media Elements) which works great. The problem lays with the gallery and the lightbox. If I’m opening one image in a gallery (in a lightbox) it don’t show any next button. Therefore, you have to open up every single image like this.

    I also tried to insert a standard WP-gallery in a Text Block, but this don’t work at all.

    My temporary solution have been to insert regular images into a Text Block, and then the lightbox works perfectly. However, it is many images, and this is very cumbersome and not exactly smooth.

    Do you have any suggestion on how to solve this problem?

    It would be wonderful to use your gallery solution for this task, and much easier for others to operate!

    #269419

    Hey KonektMedia!

    Thank you for using the theme!

    Regretfully, we cannot provide support for third party plugins or scripts as stated on our support policy due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not included on the theme package will need to be directed to the plugin author.

    Regards,
    Ismael

    #269985

    Ok, I see that. :)
    But what about:
    “I also tried to insert a standard WP-gallery in a Text Block, but this don’t work at all.”

    This is just standard WP, and should work.

    What’s happening:

    When using Avia Layout Builder on page:
    When I insert a WP-gallery into a Text Block it works great in preview mode, but when I publish it something goes very wrong. Instead of the images floating beside each other they just appear underneath each other. And more important; all form for linking is gone (have tried with both “Media File” and “Attachment Page” setting).

    Code in preview mode:

    
    <div id='gallery-1' class='gallery galleryid-379 gallery-columns-5 gallery-size-thumbnail'>
    <dl class='gallery-item'>
    <dt class='gallery-icon'><a href='http://example.com/wp-content/uploads/comics_cute_kitten_887085_o.jpg' rel="lightbox[379]" title="Pictures Test"><img width="180" height="180" src="http://example.com/wp-content/uploads/comics_cute_kitten_887085_o-180x180.jpg" class="attachment-thumbnail" alt="comics_cute_kitten_887085_o" /></a>
    </dt></dl>
    <br style="clear: both" />
    <br style='clear: both;' />
    </div>
    

    Code when (the exact same) page is published:

    
    <div class="gallery gallery-columns-5">
    <dl class="gallery-item">
    <dt class="gallery-icon"><img src="http://example.com/wp-content/uploads/comics_cute_kitten_887085_o-180x180.jpg" alt="" width="180" height="180" /></dt>
    <dd class="wp-caption-text gallery-caption"></dd>
    </dl>
    </div>
    

    When using “Default Editor” on page:
    It works as it supposed to (lightbox an everything).

    I have also tried to copy the gallery shortcode from “Default Editor” to “Avia Layout Builder” without success.

    So any Ideas on how to fix this?

    Additional information:
    I’m running WP 3.9.1
    Enfold theme: 2.7.1

    Kind regards :)

    #270558

    Hi!

    The issue is that we don’t know how the lightbox plugin solution is set to work. If this is an issue of the default WordPress behavior not working that is one thing but what I believe you are describing is that the plugin isn’t working the way you want it with the theme.

    A much easier solution if all you are trying to do is let the lightbox image be easily right-clickable is to shrink the size of the previous and next link areas which are set to be half and half of the image. Ex:

    
    a.pp_previous, a.pp_next {
    width: 10%;
    }
    

    Instead of the default 49% for each.

    Best regards,
    Devin

    #273206

    Ok, tried. But don`t work… so I’m not using wp-gallerys nor Enfolds gallery solution.
    Thanks anyway for your sugestions :)

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

The topic ‘Gallery and Lightbox Plus ColorBox don't play nice’ is closed to new replies.