-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
When a post is synced to hoof, any adjacent files (images, pdfs, powerpoints, and subfolders) should also be uploaded to S3 and tagged with the post slug.
- These should be tracked in a new
post_attachmentstable.- Each attachment should have an "attachment_name" (the original file name) and "attachment_key" (the location it's stored at in S3).
- If the attachment is an image, it should be minimally processed to ensure a max size (see: processProfileImage. The resulting height/width should also be stored in the attachments table.
If the asset is removed from the repo, it should also be deleted from S3.
Likewise, if the post is deleted from the repo, all of its assets should be removed from S3.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
❗ Needs Attention