MultipleImagesPost

This commit is contained in:
2026-01-29 12:30:38 +11:00
parent 4b64a9e13b
commit 6774ff272d
3 changed files with 269 additions and 154 deletions

View File

@@ -237,16 +237,17 @@
<div class="post-creation-area">
<div class="image-upload-wrapper" id="upload-trigger">
<input type="file" id="post-image-input" accept="image/*" hidden>
<input type="file" id="post-image-input" accept="image/*,video/*" multiple hidden>
<div class="upload-placeholder">
<svg viewBox="0 0 24 24" width="48" height="48" stroke="white" fill="none" stroke-width="1">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<circle cx="8.5" cy="8.5" r="1.5"></circle>
<polyline points="21 15 16 10 5 21"></polyline>
</svg>
<span>Tap to Select Photo</span>
<span>Tap to Select Photos or Videos</span>
</div>
<img id="image-preview" class="hidden" src="" alt="Preview">
<!-- Preview Container for Carousel -->
<div id="media-preview-container" class="media-carousel hidden"></div>
</div>
<div class="caption-wrapper">