Estoy usando el siguiente código para cargar las imágenes en una galería de publicaciones. esto está funcionando y devolviendo imágenes pero todo en tamaño pequeño 150 x 150 px
¿Puede decirme cómo puedo modificar el código para devolver el tamaño original de las imágenes en galera?
He visto algunas publicaciones aquí en Stack Exchange, pero todas se ocupan principalmente de thumbnails
no WordPress Galley
<?php
/* The loop */
while ( have_posts() ) : the_post();
if ( $gallery = get_post_gallery( get_the_ID(), false ) ) :
// Loop through all the image and output them one by one.
foreach ( $gallery['src'] AS $src ) {
?>
<img src="<?php echo $src; ?>" class="w-100" alt="Gallery image" />
<?php
}
endif;
endwhile;
?>
.