Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upload images from fs not URLs #335

Merged
merged 15 commits into from
Nov 20, 2023
Merged

Conversation

Sembauke
Copy link
Member

@Sembauke Sembauke commented Nov 15, 2023

Checklist:

Closes #259

@Sembauke Sembauke marked this pull request as ready for review November 16, 2023 07:46
@Sembauke Sembauke requested a review from a team as a code owner November 16, 2023 07:46
@Sembauke
Copy link
Member Author

I am not entirely sure if we should include the API url in the src of the image elements as they might change.

Let me know what you guys think.

Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

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

Just the one other thing:

apps/backend/config/plugins.js Outdated Show resolved Hide resolved
@ojeytonwilliams
Copy link
Contributor

I am not entirely sure if we should include the API url in the src of the image elements as they might change.

I'm not sure. The simplest approach is probably just to store the full URL and, if that changes, handle that separately. e.g. update the db or put in redirects to the new location.

@raisedadead any thoughts?

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
@Sembauke Sembauke requested a review from raisedadead November 16, 2023 14:55
@sidemt
Copy link
Member

sidemt commented Nov 20, 2023

This PR was ready to merge, but the lint check is now failing after I tried resolving the merge conflicts... Asking for help in the team chat.

@sidemt sidemt merged commit 866851e into main Nov 20, 2023
7 checks passed
@sidemt sidemt deleted the feat/upload-images-from-fs branch November 20, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload and save inline images
3 participants