How to set alt images on wordpress?

Upload the picture via bilder:
<?php if ( !empty( $atts['product_img'] ) ) { ?>

 <img src="<?fw_resize php echo( $atts['product_img']['url'], 360, 270, true ); ?>">

<?php } ?>

Alt media image prescribed:
In the inspector alt is not displayed:

Tell me, please, how to get alt? Or he will be taken into account?
June 10th 19 at 15:20
1 answer
June 10th 19 at 15:22
<img src="<?fw_resize php echo( $atts['product_img']['url'], 360, 270, true ); ?>" < code>
br><br> and in this code, then alt you not withdrawn)<br><br> Let's see an example:<br> <a href="" rel="nofollow"></a><br><br><pre><code>$image_alt = get_post_meta( $image->id, '_wp_attachment_image_alt', true);</code></pre>

Find more questions by tags Search engine optimizationWordPress