<?php
$photo_id = ugly_get( 'photo' );
if ( $photo_id ) {
echo wp_get_attachment_image(
$photo_id,
'large',
false,
array(
'class' => 'article__photo',
'loading' => 'lazy',
'sizes' => '(min-width: 800px) 800px, 100vw',
)
);
}The alt text comes from the media library, as always. Fill it in there.