Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextcloud Notes for Android - Images are not displayed #1877

Open
stefan-franz opened this issue Apr 29, 2023 · 8 comments
Open

Nextcloud Notes for Android - Images are not displayed #1877

stefan-franz opened this issue Apr 29, 2023 · 8 comments

Comments

@stefan-franz
Copy link

In Notes in Nextcloud (access with Firefox browser on Win) it's possible to add images in Notes and it works. But in the Notes Android App these images are not displayed.

@joshtrichards

This comment was marked as resolved.

@joshtrichards joshtrichards transferred this issue from nextcloud/android Aug 20, 2023
@Sarah-Connelli
Copy link

Hi, is anything being done about this? I'd like to move away from another notes solution I am using, however this one feature is a major showstopper to migrate across to NextCloud for notes.

@gautierlabarre
Copy link

Hello, I too need this feature :( any idea on when this might be implemented ? 🙏🏻

@hgdrn
Copy link

hgdrn commented Jan 9, 2024

I'm here because I thought I'm doing anything wrong. The app says "use absolute paths or complete URLs". But: the app will only show images with a complete URL, Nextcloud Web shows images with an absolute path, too.

This works both in Android and Web:
![foobar.jpg](https://$DOMAIN/remote.php/dav/files/$USER/Notizen/Foo/foobar.jpg)

This works only in Web: but not in the Android App:
![foobar.jpg](/Notizen/Foo/foobar.jpg)

Relative paths neither work in the Android App.

If I edit a note in Nextcloud Web and paste an image from the clipboard the image data is saved as an attachement to a ".attachments.$ID" subfolder, the note itself then contains a relative path. Nextcloud Web shows the image, the Android App doesn't show it.

![image.png](.attachments.$ID/image.png)

A consistent way to use images in notes regardless of created in Nextcloud Web or Android App or directly by editing .md files and uploading images to the notes folder is highly appreciated. Thanks in advance.

Edit: Android App Version 4.1.0 / Nextcloud 27.1.5 with Notes 4.9.2

@stefan-niedermann
Copy link
Member

Just as a quick note here: It does make a difference which editor you are using (see Notes Android Apps settings). They both expect images to be under a different path which is the root cause of images not being displayed.

@hgdrn
Copy link

hgdrn commented Jan 9, 2024

Thanks, Stefan for the explanation. In fact I wasn't aware of this.

Unfortunately that makes it even worse (from the user's point of view). So there's an edit mode, a rich edit mode and a preview mode (in both Web and App). And as a quick check I think there's not a single combination of (Web/App and preview/edit/rich edit) where an image is always displayed and is not replaced by a placeholder oder a HTTP 404 error image. An image might be OK "here" but invisible "there" and vice versa. Not complaining, just noticing.

@stefan-niedermann
Copy link
Member

This is correct and should have been adjusted while integrating Nextcloud Text ("Rich edit mode") into the app. It is probably easier to fix it in the "old" edit mode given Nextcloud Text is used heavily across the Nextcloud ecosystem while the old edit mode is only used in the Notes app (afaik).

@fuzzy-feeling
Copy link

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants