photograph fixes : ps
This commit is contained in:
parent
e69243f5ea
commit
210629aebd
@ -1985,9 +1985,12 @@ public function filterSalesPDList_post() {
|
|||||||
$rand_name = $value['img_name'] == 'satellite' ? "satellite.png" : $value['img_name']."_".$randomString.".png";
|
$rand_name = $value['img_name'] == 'satellite' ? "satellite.png" : $value['img_name']."_".$randomString.".png";
|
||||||
$section_fields['data']['section9'][$k]['img_name'] = $value['img_name'];
|
$section_fields['data']['section9'][$k]['img_name'] = $value['img_name'];
|
||||||
$section_fields['data']['section9'][$k]['img'] = $rand_name;
|
$section_fields['data']['section9'][$k]['img'] = $rand_name;
|
||||||
|
$photograph_data[$k]['rand_name'] = $rand_name;$k++;
|
||||||
$CET_response = cet_salespd::repushwithcetphotographapi($section_fields);
|
}
|
||||||
|
$CET_response = cet_salespd::repushwithcetphotographapi($section_fields);
|
||||||
|
foreach ($photograph_data as $key => $value){
|
||||||
if(isset($CET_response->status) && $CET_response->status == 200){
|
if(isset($CET_response->status) && $CET_response->status == 200){
|
||||||
|
$rand_name = $value['rand_name'];
|
||||||
$source=$value['img_name'] == 'satellite' ? 'data:image/png;base64,'.$value['img'] : $value['img'];
|
$source=$value['img_name'] == 'satellite' ? 'data:image/png;base64,'.$value['img'] : $value['img'];
|
||||||
//Google Library - GCP
|
//Google Library - GCP
|
||||||
$gcpBucketName = GCP_BUCKET_NAME;
|
$gcpBucketName = GCP_BUCKET_NAME;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user