Images Not Showing In Search Results

HomeSupportImage StoreImages Not Showing In Search Results

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #56761
    jcharris
    Participant

    Hi,

    No preview shows up in search results. Tried new 2014, 2013 and 2012 themes. I get the gallery or image title with an href and the excerpt but no thumbnail.

    I made sure the ‘Searchable Galleries’ box is checked.

    Any ideas on what to try? Or is there a filter or other PHP I need to add to generate the thumb? Do I need to activate post_thumbnail support in functions.php?

    #56770
    Xpark Media
    Keymaster

    @jcharris,

    you want to create a “content-ims_gallery.php” template part, this will allow you do modify and display of the galleries in the search result.

    you can use the templates provided by the plugin image-store/theme/ as guide.

    An alternative is to use WordPress post thumbnail and use the image in the search results.

    #56793
    jesus
    Member

    Please can you explain how a picture appear when searching.
    I do need a catalog and search for tags “beach”, “forest” etc..
    When I search out want pictures of the search, not the gallery.

    Thank you.

    PS: I love this plugin. I’ll pay a coffee or two for you.

    Por favor puede explicar como aparecer una imagen al buscar.
    Quiero hacer un catálogo y necesito buscar por etiquetas: “playa” “bosque” etc.
    Cuando hago una búsqueda quiero que salgan las imagenes de la busqueda, no la galeria.

    Gracias.

    PD: Me encanta este plugin. Voy a pagar un café o dos para usted.

    #56799
    Xpark Media
    Keymaster

    @jesus,

    This is currently not possible tags are assigned to the gallery, while you can search image data the plugin will always give you a gallery as result.

    You can add the code below to make the images searchable, but you still will not be able to search by tags. Only by image name or description.

    function make_ims_image_rearchable( $image_type ){			
    	$image_type['exclude_from_search'] = false;
    	return $image_type;
    }
    add_filter('ims_image_post_type', 'make_ims_image_rearchable');
    

    Si prefieres una contestación en español por favor crea un nuevo “topic”

    #56802
    jesus
    Member

    @Xpark Media, thanks for the reply.

    I do not know where to put that code.

    I have written a new question in Spanish

    Saludos!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.