Skip to content

Preview images are not shown when attaching images #952

@DavidMndz

Description

@DavidMndz

Describe the bug
When you are attaching an image into a Collective, it does not show the preview of the image in the select menu as it was before. It happens the same inserting from Files (Nextcloud) or from computer.

To Reproduce
Steps to reproduce the behavior:

  1. Open a collective in Edit mode.
  2. Insert an image from Files
  3. Search for the picture you want to attach.
  4. The previews are not shown.

Expected behavior
The preview of the image should be shown, otherwise it is very difficult to know the photo you select.

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: Debian and Android
  • Browser: Brave
  • Version: Latest
  • Device: Pixel 7 Pro and desktop
Server details

Collectives app version: 2.8.2

Operating system: Debian

Web server: Apache2

Database: myswl

PHP version: 8.2

Nextcloud version: 27.1.2

Logs

No errors are reported in logs.

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions