$(document).on('page:beforein', '.page[data-name="account"]', async function(e) {

  console.log('app account ready')

  let uimg = get_localstorage('member_img');

  let it=uimg.data;

  let usr = get_localstorage('member');

  let dt=usr.data;

  let t_avatar=`<img src="`+it[0].url.small+`" alt="`+dt.nama_member+`">`;

  let t_menu=`

  <a href="/image_upload/member/`+dt.id+`" class="image_upload" data-image="`+it[0].url.small+`">

    <div class="colored-icon red">

      <i class="icon f7-icons">camera_fill</i>

    </div><span data-lang="image_profile"></span></a>`;

  let t_img=`<a class="image_upload" data-image="`+it[0].url.small+`" href="/image_upload/member/`+dt.id+`"><img src="`+it[0].url.small+`" alt="`+dt.nama_member+`" class="img image"></a>`;

  $("#account_img_menu").html(t_menu); 

  $("#user_img").html(t_img); 

  $("#user_avatar").html(t_avatar);   

});