image preview not showing - this.$attachmentResolver is null
Short summary of the issue
- [ ] Markdown syntax is not properly rendered in text
I used this docker-compose config
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb:10.6
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
Screenshot
Details
- Nextcloud version: 30.0.2
Dear @rimusport, I guess the screenshot is from the deck app, right? Text doesn't support inline attachments/images there. That's also why adding attachments in the editor lists the attachments for the deck card instead and doesn't allow to inline them.
I guess that you added some markdown syntax that referenced an image? How did you come to this result?
Technical background: The limitation is because the editor content is not bound to a markdown file (with a corresponding file ID) in deck. And that would be required to have an attachments folder.
I have the same problem. Yes its the deck app. Reproduce: -open any card in deck -click on the "attach files" icon -upload image from computer -click on small arrow behind the file name to choose/insert that image
I have the same issue when I try to link an image in the description of a Deck card, whether by "insert attachment", or by linking an external image by raw Markdown code, i.e.:

@mejo- I am trying to insert a card cover image, which should be possible from what I understand. If this is the wrong way, what is the correct way to insert/link an image to show as cover image?
hasn't worked for us in about 3 versions... we do not use it much (occasional joke pic here and there)