I need to output the url for field_slide_media in views-view-unformatted--carousel.html.twig.
I can output the entity ID using:
{{ view.field.field_slide_media.value(view.result[i]) }}
I would like to use it in
<img src="url of field_slide_media">
I can also output the whole image, but I need to be able to add an img class to it in the twig, so it's too much being output. I need the uri not the whole output.
{{ view.style_plugin.getField(loop.index0, 'field_slide_media') }}
gives me:
<img src="/sites/default/files/styles/carousel_large_image/public/2020-07/Mal%20Event%20Instagram%20Grid%202%20V2.png?itok=ZHLLokti" alt="art" typeof="foaf:Image" >