My Theme Code Addons generated for me code:
<?php $location_gallery_urls = get_field( 'location_gallery' ); ?>
<?php if ( $location_gallery_urls ) : ?>
<?php foreach ( $location_gallery_urls as $location_gallery_url ): ?>
<img src="<?php echo esc_url( $location_gallery_url ); ?>" />
<?php endforeach; ?>
<?php endif; ?>
how i can change default size (full) to medium_large?
A gallery field can return the URL, ID or an array. To show a specific size image you need to return something other than URL. If you return the id then you would use https://developer.wordpress.org/reference/functions/wp_get_attachment_image_src/ to get the image. If you return an array see the documentation of the image field to see what is returned for each image in the array https://www.advancedcustomfields.com/resources/image/.