Images and files
Notes can carry images and any other file, such as a PDF, a spreadsheet or a zip, encrypted like everything else. This is off by default because it needs a Cloudflare R2 bucket, and R2 asks for a payment method even though the first 10 GB are free.
Turn it on
Section titled “Turn it on”-
In the Cloudflare dashboard, open R2 and enable it for your account if you have not used it before.
-
In your
noteflarerepository, openwrangler.jsoncand remove the//in front of this line:wrangler.jsonc "r2_buckets": [{ "binding": "ATTACHMENTS", "bucket_name": "noteflare-attachments" }], -
Commit the change (or run
bun run deploy). The bucket is created for you. -
Reload NoteFlare. Attach a file now appears in the editor.
Turning R2 on also starts daily encrypted backups.
Attach an image or a file
Section titled “Attach an image or a file”- Click Attach a file in the editor, or
- drop files onto the open note, or
- paste an image from the clipboard.
Images show inside the note. Any other file shows as a chip with its name and size, and a click downloads it.
While a file uploads, the editor shows a tile with a preview of the image (a paperclip for other files), its name and a progress bar. The X on the tile (Cancel upload) stops it. The image appears in the note when the upload ends. Closing the note cancels what is still uploading.
In the note’s text, an attachment is ordinary Markdown:  for an image, [report.pdf (1.2 MB)](/api/blobs/…) for a file. You can move it around or delete the line like any other text.
When an image doesn’t show
Section titled “When an image doesn’t show”An image that can’t be shown leaves a box of the same size with the reason, and the image’s name. While it loads, the box is a plain gray placeholder.
| The box says | What it means | What to do |
|---|---|---|
| Shows when you’re online | You are offline and this device has not shown this image before. | Nothing: it loads by itself when the connection is back. |
| Couldn’t load the image | The download failed, for example on a flaky connection. | Choose Retry. |
| This image was deleted | The file is no longer in your bucket. | Remove the line from the note, or attach the image again. |
| Image storage is off | Your NoteFlare has no R2 bucket, so it can’t store or serve attachments. | Choose How to turn it on, which opens this page, and follow Turn it on. |
| Can’t decrypt this image | The image was encrypted with another key, for example in a note that came from another NoteFlare. | Attach the image again from the original file. |
The image library
Section titled “The image library”Images, next to Archive and Trash at the top, shows every image from your notes in one grid. It appears once image storage is on, or as soon as any note has an attachment. Notes in the trash are left out.
- Images and Files: two tabs, each with its count. Files lists the other attachments with their name, size and note. Choosing a file downloads it.
- Search: the search box at the top filters the library too. It matches an image’s or file’s name, and the title, text and labels of the notes it is in.
- Labels: choose a label under the tabs to see only what is in notes with that label. All shows everything again.
- Open an image: choose it to see it in full. The arrows, or the left and right arrow keys, move to the previous and next image.
- Open note jumps to the note the image or file is in. If several notes use it, pick one from the list.
An image that can’t be shown has the same box as in a note: see When an image doesn’t show.
The library is built in your browser from your decrypted notes. The server has no list of your images and can’t tell which file belongs to which note.
Thumbnails and offline
Section titled “Thumbnails and offline”- Thumbnails: when you attach an image, your browser also makes a small version of it (400 px on its longest side), encrypts it and uploads it next to the image. The library’s grid loads these, so it opens fast. A note always shows the full image.
- Images attached before thumbnails existed, images no larger than 400 px and animated GIFs have none. The library loads them in full, which works the same but takes longer.
- On this device: every image this device has shown or uploaded is kept on it, still encrypted. It shows offline, and it isn’t downloaded again each time you open NoteFlare.
- Thumbnails are always kept. Full images share 200 MB per device. Past that, the ones you haven’t looked at for the longest are dropped and download again when you next open them.
- An image this device has never shown says Shows when you’re online while you are offline.
- Locking NoteFlare keeps these copies, because they can’t be read without your passphrase. Signing out deletes them.
- Files other than images are not kept on the device: downloading one needs a connection.
What to know
Section titled “What to know”- Everything is encrypted in your browser with your data key before upload. The server stores opaque blobs and never learns the content, the file name or the file type.
- Any file type, up to 10 MB each. PNG, JPEG, GIF, WebP and AVIF images are shown in the note.
- Deleting a note forever also deletes the attachments only it used, with their thumbnails.
- Notes that the trash purges by itself after 30 days leave their attachments in the bucket.
- Each device needs a connection the first time it shows an image, and every time you download a file. After that the image shows offline: see Thumbnails and offline.
- A Markdown export includes images and files; an encrypted backup does not.
- A shared link carries the note’s text only, not its attachments.