Old Pic Showing Instead of New Pic

Technical Support
  • Hi, there is an issue of new pic not showing when uploaded. Instead the old pic from cache is showing. The new pic only shows once I close and reopen the browser. This can easily be fixed if someone can save the last modified datetime of the pic in the db and put that datetime in the pic query string like this:

    <img id="user-current-picture" class="avatar avatar-xl avatar-rounded" src="/assets/uploads/profile/1-profileavatar.jpeg?mod=2018-12-30 22:59:00" data-original-title="" title="">

    Saeed 🙂

Suggested Topics