<figure class="account-image">

    {{#unless previewDataURL}}
        <div class="placeholder-img" style={{placeholderStyle}}></div>
        <div id="account-image" class="gravatar-img" style={{avatarStyle}}>
            <span class="sr-only">User image</span>
        </div>
    {{/unless}}

    {{#if previewDataURL}}
        <img src={{previewDataURL}} class="gravatar-img">
    {{/if}}

    <span class="edit-account-image" onclick={{action "openFileDialog"}} role="button">
        {{svg-jar "photos"}}
        <span class="sr-only">Upload an image</span>
    </span>

    {{gh-file-input
        alt=null
        name="uploadimage"
        multiple=false
        action=(action "imageSelected")
        accept=imageMimeTypes}}
</figure>
