←back to thread

384 points ingve | 1 comments | | HN request time: 0.402s | source
Show context
egeozcan ◴[] No.41877482[source]
I copy the images in my clipboard and save them in an HTML file to have single-file galleries:

https://gist.github.com/egeozcan/b27e11a7e776972d18603222fa5...

Live:

https://gistpreview.github.io/?b27e11a7e776972d18603222fa523...

Selecting via file-picker works too. Dragging usually does not. When all works, images are inserted inline as blobs.

After adding images, if you save the page (literally file->save), the blobs are saved together. don't want a part when saving (for example, removing images)? inspect element, remove, save page.

throw the page on some server or just double click on your computer/mobile.

replies(6): >>41877598 #>>41877626 #>>41877827 #>>41880026 #>>41880857 #>>41887514 #
1. dmje ◴[] No.41887514[source]
Thanks for sharing! Mind: expanded