Call value on array without index

Array

```
$Extension = ['jpeg','jpg','png'];

```

View

```
<img src="{{ $dirname }}{{ $id }}-daftarpengalaman.{{$Extension}}" class="img-responsive" style="display: block; margin: auto; width:50%" alt="Daftar Pengalaman"/>

```

please help me