<?php if ( !empty( $atts['product_img'] ) ) { ?>
<img src="<?fw_resize php echo( $atts['product_img']['url'], 360, 270, true ); ?>">
<?php } ?>
<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="https://wordpress.stackexchange.com/questions/193196/how-to-get-image-title-alt-attribute" rel="nofollow">https://wordpress.stackexchange.com/questions/1931...</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