<a href="<?php echo esc_url( $full_image_url );?>" data-rel="prettyPhoto[gallery-prettyphoto-<?php echo get_the_ID();?>]" title="<?php the_title_attribute(); ?>"><i class="fa fa-picture-o"></i></a>

<?php
	$gallery_images = educacion_mascot_get_rwmb_group_advanced( 'educacion_mascot_' . "portfolio_mb_gallery_images_settings",  "gallery_images", null, false, 'all' );
?>
<div class="d-none">
	<?php
		if ( !empty( $gallery_images ) ) {
			foreach ( $gallery_images as $each_gallery_image ) {
			?>
			<a data-rel="prettyPhoto[gallery-prettyphoto-<?php echo get_the_ID();?>]" title="<?php the_title_attribute(); ?>" href="<?php echo esc_url( $each_gallery_image['url'] );?>"></a>
			<?php
			}
		}
	?>
</div>