Streaming live at 10am (PST)

Search results page and image from search index

#1

Hi!

On my search results page, I’m trying to use the “get image from search index” feature. However, it doesn’t seem to work and I cannot get any image to appear in it. It’s probably something simple, but right now I really can’t get why this happens. Any help?


Here is my public share link: https://preview.webflow.com/preview/adoamedica?utm_source=adoamedica&preview=f3a25f52027193a7592782b310da5166

#2

@Rudeism -
I noticed you have the search image defined as using the OG Image which is not set. Please review the search feature in the University

#3

I read it all but I still really can’t get it. :confused:
Can you please explain this in more detail?

#4

Site search settings

You can control what content displays for the search title in the Page Settings for all of your site’s static pages and Collection Pages. For Collection Pages, this content can be pulled from any field, similar to how you’d configure SEO and Open Graph settings.

Similarly, you can set a custom search description and a search image for each of your pages, or pull in that content from the SEO description and the OG image.

Control what content displays in search results under your Page Settings.

Displaying content “type”

You can use the search description field to add additional information to your search results. For example, say you want to show visitors what type of content a specific search result by displaying the blog post category alongside the result.

‍Display additional information in search results by getting creative with the search description field.

Simply add your category name to the search description field, then connect a text field in your search results layout to the search description field, then style as you wish.

‍Example: use this new field to display the type of content that a search result is.

Adding a search results thumbnail

You can also set a search image under your Page Settings, just as you’d set an OG image. Once you’ve added a search image, you can add this image to your search results by connecting an image element to that search image field. You can also set the search image as the source for a background image on a div.

Want to add images to your search results? Not a problem.

#5

Yes, I read those already. If I go and choose search image this happens:

Where does it go and why it does that?

#6

ah, that one got me confused at first, too. It’s because you haven’t got an image set for that search result. Not on the search page but the actual page. Have you got images on those pages?
It happens with the CMS as well

#7

I got the image to appear now but only after I’ve published the site (https://adoamedica.webflow.io/search?query=ecolomega).

On the editor I cannot see anything anymore, it’s just in the “no results” mode, even after I’ve clicked the “default” button.

#8

I’m pretty sure the designer’s search results are just placeholders? You can only see the actual page search results on the live site but maybe I’m missing something

#9

Ah, now it works again. It was probably just a bug in my safari browser, has happened before. Thank you for all your help!

1 Like