Alt text not showing…

    $images = get_post_meta(get_the_id(), 'vdw_gallery_id', true);

                if( $images ): ?>
                        <?php foreach( $images as $image ): ?>

                            <a href="<?php echo wp_get_attachment_image_url($image, 'large');  ?>">
                                <img src="<?php echo wp_get_attachment_image_url($image, 'medium'); ?>" alt="Alter TEXT" />
                        <?php endforeach; ?>
                <?php endif; ?>             

I try many ways but not getting how to echo alter text I create meta field for gallery

Read more here: Alt text not showing echo


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: