Skip to content

Commit

Permalink
Add .heic image upload - #5610
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolas committed Nov 12, 2024
1 parent b604a29 commit 9c58121
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mediathread/templates/main/collection_add.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ <h6 class="card-title mt-2">IMAGE / PDF</h6>
<p class="card-text">
Mediathread supports image files
that end in .bmp, .gif, .jpg,
.jpeg, .png, .svg, .webp, and also PDF files.
Submitted files must be less than 50MB.
.jpeg, .png, .svg, .webp, .heic,
and also PDF files. Submitted
files must be less than 50MB.
</p>
<div class="card-text">
{% csrf_token %}
Expand Down Expand Up @@ -112,7 +113,7 @@ <h6 class="card-title mt-2">IMAGE / PDF</h6>
class="custom-file-input"
id="mediaUploadFilename"
aria-describedby="inputGroupFileAddon02"
accept="image/bmp,image/gif,image/jpeg,image/png,image/svg,image/svg+xml,image/webp,application/pdf" />
accept="image/bmp,image/gif,image/jpeg,image/png,image/svg,image/svg+xml,image/webp,image/heic,application/pdf" />
<input type="hidden" name="url" id="uploaded-url" />
<label class="custom-file-label" for="mediaUploadFilename">
Choose file
Expand Down

0 comments on commit 9c58121

Please sign in to comment.