ImageWorkaround

This commit is contained in:
ivan gomes
2021-11-22 16:37:11 +01:00
parent e5f757d615
commit 5ebb8ceefe
8 changed files with 12 additions and 14 deletions
@@ -29,11 +29,7 @@
<ion-item lines="none">
<ion-thumbnail slot="start">
<<<<<<< HEAD
<ion-img [(ngModel)]="capturedImage" name="image" ngDefaultControl [src]="capturedImage" (click)="imageSize(capturedImage)" ></ion-img>
=======
<ion-img [(ngModel)]="capturedImage" name="image" ngDefaultControl [src]="capturedImage" ></ion-img>
>>>>>>> 6dcc59980c0116ee04582f93d3d44cc985659ce6
<ion-row>
<ion-col>
<img src="" #imageElement/>
@@ -138,7 +138,7 @@ export class NewPublicationPage implements OnInit {
async laodPicture() {
const capturedImage = await Camera.getPhoto({
resultType: CameraResultType.Uri,
source: CameraSource.Photos,
source: CameraSource.Camera,
quality: 90,
width: 1080,
height: 720,
@@ -393,7 +393,7 @@ export class NewPublicationPage implements OnInit {
quality: 50,
allowEditing: false,
resultType: CameraResultType.Uri,
source: CameraSource.Photos // Camera, Photos or Prompt!
source: CameraSource.Camera // Camera, Photos or Prompt!
});
if (image) {