Viewing 1 post (of 1 total)
  • Author
    Posts
  • #17149
    creawbe
    Participant

    Hey,

    I have an urgent problem.
    I really like the plugin and am thinking on buying it. However, I encounter the following problem.
    I have a page where on the left side I create galleries like this:

    foreach ($zonneboilerArray as $arritem) {
     ?>
         <a title='<?=$arritem[0]->post_name?>' href='<?=$arritem[0]->guid?>' data-rel="lightbox-gallery-15">
              <img class="logo" src='<?=$arritem[0]->guid?>' alt='<?=$arritem[0]->post_name?>'/>
         </a>
     <?php
     }

    This will work perfectly with the TosRUs effect activated, I really like this. (The Swipebox effect will create duplicates of my images in the galleries).

    On the right hand side of my screen I have a google map with an infowindow.

    The content of this infowindow is a gallery shortcode e.g. [gallery columns="2" ids="688,689"]
    If I click on an image in the infowindow then the image just opens in the same tab full screen, no lightbox is loaded over this.

    If I inspect the code it shows me like this:

    <div id="gallery-5" class="gallery galleryid-310 gallery-columns-2 gallery-size-thumbnail">
        <dl class="gallery-item">
    	<dt class="gallery-icon landscape">
    		<a title="Capture" href="http://localhost/aventi/wp-content/uploads/2017/03/Capture.png" data-rel="lightbox-gallery-5">
                        <img width="150" height="150" src="http://localhost/aventi/wp-content/uploads/2017/03/Capture-150x150.png" class="attachment-thumbnail size-thumbnail" alt="">
                    </a>
    	</dt>
        </dl>
        <dl class="gallery-item">
    	<dt class="gallery-icon landscape">
    		<a title="DSCN4206154" href="http://localhost/aventi/wp-content/uploads/2017/03/DSCN4206154.jpg" data-rel="lightbox-gallery-5">
                           <img width="150" height="150" src="http://localhost/aventi/wp-content/uploads/2017/03/DSCN4206154-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="">
                    </a>
    	</dt>
        </dl>
        <br style="clear: both">
    </div>

    How do I go about this problem and make sure that my gallery shortcodes also get opened as lightboxes (with TosRUs)? Thanks a lot in advance!!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.