function product_image(req) {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url + 'product_image',

    data: req,

    success: (res) => {

      if (res.success) {

        //localStorage.removeItem('f01_user')

        app.preloader.hide();

        //app.views.main.router.navigate('/signup/');

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Upload Image Error');

      }

    }

  })

}