Skip to content

Commit

Permalink
feat: allow webp images
Browse files Browse the repository at this point in the history
  • Loading branch information
gion-andri committed Dec 4, 2023
1 parent 45c378c commit 2a27e1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/user-area/pages/new-event/new-event.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,11 @@ <h2>
</h2>
<app-file-list [files]="images" [type]="'image'" [isUploading]="isUploadingImage"></app-file-list>
<div class="form-text">
formats acceptads: JPG, PNG<br>
formats acceptads: JPG, PNG, WebP<br>
grondezza maximala: 20 MB<br>
</div>
<app-file-upload [allowedMimeTypes]="['image/jpeg', 'image/png']" [(isUploading)]="isUploadingImage"
<app-file-upload [allowedMimeTypes]="['image/jpeg', 'image/png', 'image/webp']"
[(isUploading)]="isUploadingImage"
(fileAdded)="images.push($event)" [type]="'image'"></app-file-upload>
<br><br>

Expand Down

0 comments on commit 2a27e1a

Please sign in to comment.