I think this is a bug.

I have tried this multiple ways, with max_files and without.

No what, when I upload an image to one of my users...


pic: type: file display: Picture max_files: 1 allowed: [gif, png, jpeg, jpg] destination: assets/img/avatar/ resize: width: 800 quality: 60

...it creates an array.

To make matters worse, when I just give up and accept that even though it's a single file I still need to do the array thing, that doesn't work either...


{{ crew }} {{ member:profile uid="{crewmember}" }} <a href="{{ if link }}{{ link }}{{ else }}http://thekitchen.co/crew/{{ username }}{{ /if }}"> <figure class="col-xs-12 col-sm-4"> <img src="{{ pic }}{{ value }}{{ /pic }}"> <h1>{{ first_name }} {{ last_name }}</h1> </figure> </a> <article class="col-xs-12 col-sm-8"> {{ short_bio|markdown }} </article> {{ /member:profile }}</td> {{ /crew }}

FYI - I'm pulling a uid from a Grid called crew and then using that to output the info.

Window_and_the_Kitchen_-_Crew.png

That file is the correct one, but it's doing all kinds of crazy stuff. It's actually not even outputting some of that markup. Like I don't even have an image tag.

Probably dumb mistake again on my part, but I can't see it. And this still doesn't answer the "saving one image to an array" issue.

Thanks for the help!