Home › Support › Image Store › Images Not Showing In Search Results
Tagged: search
-
AuthorPosts
-
January 16, 2014 at 1:14 pm #56761jcharrisParticipant
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?
January 16, 2014 at 9:14 pm #56770Xpark MediaKeymasteryou 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.
January 18, 2014 at 11:03 am #56793jesusMemberPlease 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.
January 20, 2014 at 9:10 pm #56799Xpark MediaKeymasterThis 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”
January 20, 2014 at 11:42 pm #56802jesusMember@Xpark Media, thanks for the reply.
I do not know where to put that code.
I have written a new question in Spanish
Saludos!
-
AuthorPosts
- You must be logged in to reply to this topic.