$post_array = $post->files()->first(); <img src="{{ $post_array['path'] }}" alt="{{ $post_array['filename'] }}">