image fields in ACF can return the image ID, which generates the src set attribute, or the image Object, which provides the alt text.
I want to use both the src set *and* the alt text for my images.
I tried adding the alt attribute to wp_get_attachment_image like so: echo wp_get_attachment_image($image, $size, $attr = 'alt');
but that does not work.
Question: how can I output both the scr set and the alt text?