Add post image upload (#20)
CI / test (push) Successful in 6m28s

Lands the image upload handlers and picker on master. Questions and replies can attach up to four JPEG, PNG, or WebP photos.

Reviewed-on: #20
Co-authored-by: codegirl-007 <s.raide@gmail.com>
This commit was merged in pull request #20.
This commit is contained in:
2026-08-31 04:29:51 +00:00
committed by codegirl007
parent e68afba6a5
commit 2eb8bff1c4
14 changed files with 1525 additions and 5 deletions
+1
View File
@@ -17,6 +17,7 @@
{{if isEdited .Question}}<span class="edited">Edited</span>{{end}}
</p>
<p class="post-body">{{.Question.Body}}</p>
{{template "postImages" .Question}}
{{template "postActions" (postCtx .User .CSRF .Question .Question 0)}}
</div>
</article>