Video support
This commit is contained in:
parent
4960527af3
commit
c650c27825
14 changed files with 310 additions and 57 deletions
7
templates/get_full_image_media.html
Normal file
7
templates/get_full_image_media.html
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<img
|
||||
hx-get="/media/{{ post.id }}"
|
||||
hx-swap="outerHTML"
|
||||
id="media"
|
||||
src="/files/{{ post.media }}"
|
||||
style="width: {{ post.width }}px; height: {{ post.height }}px; aspect-ratio: {{ post.width }} / {{ post.height }}; cursor: zoom-out"
|
||||
/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue