Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Implement file upload and display #53

Merged
merged 5 commits into from
Sep 30, 2022
Merged

Conversation

Rubikium
Copy link
Contributor

@Rubikium Rubikium commented Sep 23, 2022

refs #8

Supports local file storage and AWS S3

@Rubikium Rubikium marked this pull request as ready for review September 26, 2022 09:42
#TODO: replace with template
image_html = mark_safe(
f"<img class='thumbnail' src='{item[1].url}' "
f"alt='{item[1].name}'>")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls render it in a separate html template file instead of inline html in python.

@Steven-Chan Steven-Chan merged commit 3623c62 into oursky:main Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants