Move profil_img() in core.lib