The basic code gets read by Foundation and changes by the output.

```
<div class="columns medium-6">
    <a data-open="Image-Modal-<?php echo $first; ?>">
        <?php echo wp_get_attachment_image(get_sub_field('image'), 'full', false, 'class=reveal-image'); ?>
        <p class="text-center text-large" ><?php the_sub_field('title'); ?></p>         
    </a>
</div>
<div class="reveal" id="Image-Modal-<?php echo $first; ?>" data-reveal>
     <?php echo wp_get_attachment_image(get_sub_field('opened_image'), 'full', false, 'class=reveal-image'); ?>
</div>

```

Output after foundation Init

```
<a data-open="Image-Modal-1" aria-controls="Image-Modal-1" aria-haspopup="true" tabindex="0">
                                        <img width="500" height="300" src="http://rental.didit-dev.com/wp-content/uploads/2016/12/20z.jpg" class="reveal-image" alt="" srcset="http://rental.didit-dev.com/wp-content/uploads/2016/12/20z.jpg 500w, http://rental.didit-dev.com/wp-content/uploads/2016/12/20z-300x180.jpg 300w" sizes="(max-width: 500px) 100vw, 500px">                                       <p class="text-center text-large">Putzmeister 20X Meter</p>         
                                    </a>

```

Reveal Output ( this gets moved to bottom of footer in foundation init )

```
<div class="reveal-overlay"><div class="reveal" id="Image-Modal-4" data-reveal="z2h00k-reveal" role="dialog" aria-hidden="true" data-yeti-box="Image-Modal-4" data-resize="Image-Modal-4">
                                sdsdsdsd
                                     <img width="900" height="1250" src="http://rental.didit-dev.com/wp-content/uploads/2016/12/schwing-39sx.jpg" class="reveal-image" alt="" srcset="http://rental.didit-dev.com/wp-content/uploads/2016/12/schwing-39sx.jpg 900w, http://rental.didit-dev.com/wp-content/uploads/2016/12/schwing-39sx-216x300.jpg 216w, http://rental.didit-dev.com/wp-content/uploads/2016/12/schwing-39sx-768x1067.jpg 768w, http://rental.didit-dev.com/wp-content/uploads/2016/12/schwing-39sx-737x1024.jpg 737w" sizes="(max-width: 900px) 100vw, 900px">                                </div></div>

```

no error message
jQuery(document).foundation(); was used, other foundation stuff are working.