All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Solr Indexing media fields

I have a bespoke media type that I'd like to index with solr. If I add a new field to an existing Media Type, I can add that field to the solr search using the interface found at admin/config/search/...
1
vote
1answer
237 views

Indexing image url in search api drupal 8

How to index the absolute image url instead of image uri in search api drupal 8. Image field formatter renders the image url but there is no option to index the url part.
2
votes
2answers
175 views

Render Teaser Image in search block using Twig

I am trying to render the teaser image in my search block using twig. For my views page for rending the articles i am using this: <div class="img-container" itemscope="" itemtype="http://schema....
0
votes
1answer
1k views

Displaying Images in Search Results

I have a Resource content type that has an image field (field type and widget are both 'image'); the standard image type. The title of this field is 'Icon' and the machine name is 'field_icon'. I ...
0
votes
1answer
889 views

Enable View Library tab for Media module

The screen shot for the Media module description shows the View Library tab. On my content type I can only see the first 3 tabs Uploads, Web and Library. The final tab "View Library" is not available....
0
votes
1answer
595 views

Show image on solr search result page

I want to show image in my solr search result page. For that, I have created one field in my content type called media. In db, Images are saving in field_data_field_media table in the form of ...
1
vote
0answers
91 views

I am using a custom module that inputs the user profile image into apache solr index and then I use it on a view but the image doesn't show

I have created the following module and I have managed to input sm_field_main_image into a view. However, the user profile image does not appear. Does anyone know where the mistake is? <?php /** * ...
1
vote
2answers
2k views

Drupal 7 img src path issue

I created a block, in which an img with src="sites/mysite/files/imagename". It works every node, but failed loading in search page. Is this an issue of Search module? Drupal 7, I hope, has a uniform ...
1
vote
1answer
41 views

Extra fields in Search page

Is a module available that can add a particular field on the search page? I'd like for user's to see an image-field if applicable.
1
vote
2answers
1k views

How to show “field-image” in search page?

I want make a photo gallery with Drupal. I have a problem with showing article images (that shows in homepage in a div classed "field-image"), I want show this image is search page. After searching ...
0
votes
3answers
177 views

Uploading images so that they are searchable [closed]

How would I go about uploading images so that they are searchable, and so that the search results are actually displaying the image thumbnails? How difficult would it be to integrate this search into ...
1
vote
0answers
23 views

Image site search - how to?

I am using drupal 7 and would like an images search/tab on my site. I am thinking of adding an alt field for each image which will then be searchable. I would like the image search results to be ...
2
votes
2answers
394 views

Modifying Drupal core (search module, image module)

I have a couple of modifications I did to the Drupal core: search module: I added a class to the <ul> that contains the "no-results" text. image module: I changed the 'title' attribute to have ...
1
vote
1answer
263 views

Search node by Image Field and return image as result rather than the node

I want to be able to search for a an item in a multiple value field of a node and return the data of that specific value as the result. I have a content type called 'Gallery'. 'Gallery' contains an ...