<?php
    $galleryData['title'] = get_field('gallery_title');
    $galleryData['medias'] = get_field('gallery_medias');
?>

<div class="wysiwyg_gallery wysiwyg_gallery--<?php echo $galleryData['theme']; ?>">
    <div class="wysiwyg_gallery_title"><?php echo $galleryData['title']; ?></div>
    <?php if ($galleryData['medias']): ?>
    <div class="wysiwyg_gallery_carousel">
        <?php var_dump($galleryData['medias']); ?>
    </div>  
    <?php endif; ?>
</div>