
洪 民憙 (Hong Minhee)
@[email protected] · Reply to kodingwarrior :vim:'s post
@kodingwarrior 일단은 이미지 업로드는 GitHub 이슈에서 이미지 올리는 느낌으로 하면 되려나요? (드래그 앤 드롭?)
@[email protected] · Reply to kodingwarrior :vim:'s post
@kodingwarrior 일단은 이미지 업로드는 GitHub 이슈에서 이미지 올리는 느낌으로 하면 되려나요? (드래그 앤 드롭?)
@[email protected] · Reply to 洪 民憙 (Hong Minhee)'s post
@hongminhee 드래그앤드롭도 좋구요. 그냥 파일업로드 input field 하나 뚫어놓고, 이미지 업로드할 공간을 남겨두는 것 자체는 의미를 가질 것 같아요.
한편으로는 드는 생각이...
문제는 업로드한 이미지를 어떻게 관리할 것인가인데... 제가 masto.js 쓸때는 이미지를 이미 업로드 미리 해놓고, 응답으로 나오는 링크를 따서 게시글 작성할때 mediaId 첨부하는 식으로 동작하더라구요. https://neet.github.io/masto.js/interfaces/mastodon.rest.v1.CreateStatusParamsWithMediaIds.html
사용되지 않는 이미지를 수거하는 메커니즘도 추가로 필요하지 않나 싶습니다. Publish하는 시점은 통제가 되더라도, Draft에다가 업로드를 할때라던가 게시글을 수정하는 과정에서 이미지를 삭제하면 어떻게 하지? 뭐 그런 생각.....