callmemagnus / nextcloud-searchpage

App for Nextcloud providing a proper search page
7 stars 3 forks source link

Previews are not showing up #29

Closed Piefje01 closed 9 months ago

Piefje01 commented 9 months ago

Showing preview on images.

callmemagnus commented 9 months ago

Please elaborate a little your expectations for this.

Piefje01 commented 9 months ago

image

Piefje01 commented 9 months ago

You seen no preview when searching on for example tif. Also possible to search on date/tag/metadata "option box"

callmemagnus commented 9 months ago

Also possible to search on date/tag/metadata "option box"

Request that feature to the upstream provider application. This application has no control over how the search term is used by the different providers. Please look at https://github.com/callmemagnus/nextcloud-searchpage/blob/main/README.md#philosophy-of-this-application.

Preview

I'll check why it does not show the provided thumbnail.

callmemagnus commented 9 months ago

will be in v1.2.2

Piefje01 commented 9 months ago

image

Almost :-)

callmemagnus commented 9 months ago

Can you check the response of the providers for those items?

As far as I can guess, that is the fulltextsearch provider and it does not return a valid thumbnailUrl.

{
    "0": {
        "thumbnailUrl": "",
        "title": "(files) abc",
        "subline": "somewhere/a/image.jpg",
        "resourceUrl": "/apps/files/?dir=/somewhere/a&scrollto=image.jpg",
        "icon": "/apps/theming/img/core/filetypes/image.svg?v=62260f84",
        "rounded": false,
        "attributes": []
    }
}

I would greatly appreciate if you could report it as a bug on their project.

Piefje01 commented 9 months ago

I think your right