Fix images

This commit is contained in:
CHIEFSOFT\ameye
2023-11-06 19:33:53 -05:00
parent c59fee5b49
commit e4473eb956
27 changed files with 137 additions and 27 deletions
@@ -1,4 +1,5 @@
import { Injectable } from '@angular/core';
import { environment } from 'src/environments/environment';
@Injectable({
providedIn: 'root'
@@ -185,7 +186,7 @@ export class SessionDataProviderService {
this.isPedningJob = 0;
this.isOfferJob = 0;
}
profilePicture(){
profilePicture(sessionID, memberUID){
var defualtProfilePicture = "https://www.wrenchboard.com/assets/images/profile.jpg";
var profile_p = '';
if (this.profile_pic_url !=''){
@@ -195,6 +196,10 @@ export class SessionDataProviderService {
else{
profile_p = defualtProfilePicture;
}
profile_p = `${environment.baseUrl}/getmedia/${sessionID}/profile/${memberUID}`;
console.log("profile_p->", profile_p);
//https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/0B6246CE2B89EC948618711E6E6D2DD532797C7F750C69A237FE3F650ECA6B14/profile/3119b744-42ad-4834-bb83-b737588754ca
//https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/81EAF85BBD946518E8CAE81C2CEBCCB8134985203325343F5703E874BED476E2/profile/3119b744-42ad-4834-bb83-b737588754ca
return profile_p;
}
}