nextcloud / nextcloud/notes

Notes not displaying images

Open
#1,549 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Image

Image
Image
Image

The Notes app and the IOS app both fail to load images correctly.

I have valid markdown. I can run my note through the program markdown (version 1.0.1) to produce valid HTML, which Firefox and Vivaldi both display correctly. However the Notes Nextcloud app and the Notes app for IOS both fail to load the images. Other markdown markup is translated correctly.

Here is the markdown source. The images are in the same directory as the markdown source.


Applications are open.

[Wyoming DoE ESA page](https://edu.wyoming.gov/parents/education-savings-accounts/)

![esas](wyo.eod.esas.png "Wyoming Department of Education ESAs")

[ESA Family Handbook](https://edu.wyoming.gov/wp-content/uploads/2025/04/ESA-Family-Handbook.pdf)

![ESAFamilyHandbook](ESA-Family-Handbook.qr.png "ESA Family Handbook")

## Applicants should prepare the following documentation

* Parent and child Social Security numbers.
* Child’s birth certificate or passport.
* Proof of Wyoming residency.
* Recent tax returns showing Adjusted Gross Income or proof of TANF/SNAP enrollment (Prekindergarten applications only).

This approval notification may not arrive before June 25. ESA funds will be available to use in July.

[HB0199 - Steamboat Legacy Scholarship Act.](https://www.wyoleg.gov/Legislation/2025/HB0199)

![QR code:HB1992025](hb199.2025.png "HB 199 (2025)")

If I can find a way to add the images to this report, I will. They are QR codes, and work correctly when I generate the HTML with markdown and display in a browser.

Also see https://help.nextcloud.com/t/notes-not-displaying-images/225051

Steps to reproduce

  1. Edit with an external application. I use Emacs' Markdown mode.
    2.Insert a correctly formed markdown link to an image, and supply that image.
    3.View the note in the Nextcloud app and in the IOS Notes app.
Expected behaviour

The images should load in the app.

Actual behaviour

The images are marked "failed to load"

Screenshots

If applicable, add screenshots to help explain your problem.

Server

Please complete the following information.

  • Notes app version: 4.12.0
  • Nextcloud version: Nextcloud Hub 10 (31.0.4)
  • OS: Debian Linux 12 (Bookworm)
  • Web server: 2.4.62-1~deb12u2
  • PHP version: 8.2.28
  • Database: 3.40.1 2022-12-28 14:03:47

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ``` # cd /var/www/nextcloud/ && su www-data -c '/usr/bin/php occ config:list system' { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nextcloud", "nextcloud.localdomain", "localhost", "hawk", "hawk.localdomain", "nextcloud.curleynet.mywire.org:17800" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "sqlite3", "version": "31.0.4.1", "overwrite.cli.url": "http:\/\/localhost", "dbname": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "default_phone_region": "US", "theme": "", "loglevel": 2, "logtimezone": "America\/Denver", "logfile": "\/var\/log\/nextcloud\/nextcloud.log", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_smtpauth": 1, "mail_smtpauthtype": "LOGIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "app_install_overwrite": [ "calendar" ], "memcache.local": "\\OC\\Memcache\\APCu", "trashbin_retention_obligation": "auto, 90", "maintenance_window_start": 19, "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0 } } }

Client

Please complete the following information.

  • Browser (incl. version): Vivaldi 7.3.3635.12 stable
  • OS: Debian 12 (Bookworm)

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the provided markdown and relative image paths in the Notes app, then inspect the browser console and relevant Nextcloud logs. The issue mentions no repository files or tests; done means images load correctly in the app while other markdown and external browser rendering remain unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.