you should be adding your thumbnail code to the individual search template from the theme, which is noted:
get_template_part('content', 'search');
within that template is where you’ll want to add your thumbnail code. if you can show that template code, we could help you further
Related Posts:
- Filter to remove image dimension attributes?
- Stop wordpress from hardcoding img width and height attributes
- Programmatically get images by URL and save in uploads folder
- How to automatically add rounded corners to thumbnails?
- WordPress adding scaled images that don’t exist (1536×1536 and 2048×2048)
- Download an image from a webpage to the default uploads folder
- How to change image type for specific size?
- Is there a hook which fires after all thumbnails are generated?
- is it possible to replace the use of gd_lib with imagick or ImageMagick?
- Featured image shortcode
- How to find attachment by it’s name?
- Change WordPress image URLs via filter
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- Image Scaling using get_the_post_thumbnail issue in WordPress
- Any easy way to automatically set the first inline image in a post as the thumbnail?
- Remove title attribute from images
- Insert an image into a post by API
- How to create thumbnails with a fixed width, so all of them will have the same width?
- How to limit number of images being printer out in “Set Featured Image” pop up?
- Black and White thumbnails
- Programatically creating image attachments from local URLs and setting featured image
- How can I add the “Use as featured image” to a custom metabox?
- set_post_thumbnail_size not cropping featured images, but reducing proportionally
- How to grab first image attached to post and display in RSS feed?
- Double thumbnails?
- No srcset for hard-cropped thumbnails
- Is it possible to prevent users from uploading small images?
- Can’t Display Featured Image in RSS Feed
- Displaying a featured image (only img url) as the img src?
- How to output placeholder image if no featured image set?
- Featured Images on Front Page
- Download button for Featured Image in every post – automatically
- Removing Title Tag from Thumbnails
- Show prev and next post links for parent post of current image in attachment page?
- Setup A Default Featured Image
- When displaying the featured image, is has_post_thumbnail() necessary?
- Find posts without featured image? [duplicate]
- How do I add a featured image to a single post page?
- Add a featured image in my theme?
- How do I get images (with a thumbnail preview) to show in search results?
- Disable wordpress image sizes generation
- Get original image from thumbnail URL
- Featured Image .svg height and width 1px only
- How to check if user is uploading/setting an image as a featured image?
- Images are randomly deleted from server
- Frontend Post – Allow Only Image File Upload
- attach unattached featured images to respective posts
- Images not working using Featured post
- Add instructions to featured image
- WordPress reduces the full size image and uses it as the original
- How do I get more image editing options in the admin?
- Thumbnails are bigger in size than the original image
- Remove image classes from post thumbnail output
- Lazyload post thumbnails
- Exclude featured image from gallery in wp-admin
- Special purpose photos with each post
- SVG Featured image not shown in twitter
- Featured images not displaying at full resolution
- Woocommerce featured image of page – not product
- Set Post Image Using Shortcode
- Print specific image size in galley loop
- WordPress crops images differently on retina screens?
- Can’t seem to attach uploaded image to post and set it as thumbnail
- Big Image on Featured Post, Normal on Single Post
- offload media to external services [closed]
- Store Snapshot created via wordpress to use with lightbox
- How to stop thumbnail generation from some images and different size thumbnail generate
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- How to stop wordpress always displaying full-res images
- How can I add a “data-pin-nopin” the featured image html?
- Searching for any images in media library displays “no media found”
- WP keeps looking up post thumbnail on https even though wp-config says http
- Get custom size of thumbnails
- Url link to feature image in the portfolio [closed]
- How do I get resized thumbnails?
- Black and White Thumbnail in WordPress Gallery
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- Why is WordPress loading a different sized post thumbnail?
- Create post thumbnails from images stored outside of uploads directory
- Title image is missing ( but is not the WP 3.5 issue )
- Images will not attach to posts after site migration
- Getting top Image From the Gallery and printing out a thumbnail with Exact Dimensions
- Using the on-board image editor for featured images: edits are not being used
- Tried everything but Facebook share button won’t load the post thumbnail
- has_post_thumbnail() Returns False on Scheduled Posts
- WP is showing wrong image dimensions
- Why some images are not allowed to be edited only for thumbnails?
- I tried to move the featured image below the paragraphs but now it is displaying twice
- How to import external media items into wordpress media library (without using storage)
- How can I use an image from an external source without uploading it to the media library
- Edit multiple posts featured image
- Is there a way to upscale a media library original image to the nearest whole pixel in WordPress?
- How to get rid of a blank space where the featured image used to be?
- How to add year and month path to old attachment images?
- How can I scan my entire site for every image to know each image’s size and dimensions and url?
- How to upload multiple images to use as gallery in Kirki Framework
- How do I display a PDF thumbnail as a link to the PDF without uploading the image
- medium_large image size not displaying properly on the frontend?
- Featured Image add tab