Friday, January 9, 2015

SharePoint Online: Search Image Preview Confirmation

There have been some comments on my original postings in regards to image search results and previews of images not stored in picture libraries. The original post is here.

The issue now is does this work in SharePoint Online? There is no way to add file types to search in SharePoint Online. I was thinking that maybe, behind the scenes, they had this corrected and all would be good. Nope!

Picture libraries seem to have full support for all image types (at least the usual suspects - gif, jpg, png).

Example Preview of Image in Picture Library

Example Preview of Image in Document Library

So this just confirms that images that are not stored in picture libraries do not get rendered as images in search results. Right now the only workaround I would think is to modify the document item search template and look for the file extension - similar to what I originally did for Problem #2 in this post. (my original solution was not actually needed because of an early bug where image result types were set to show default items).


  1. Thank you for updated info!!

  2. Also, a work-around is to apply the Picture Item display template as a single template to display all items. You only give up previews of other document types. Depends on your priority.

  3. This blog post has been hijacked here:, you may want to file a complaint with cloudflare. They have been hijacking mine also.

  4. Well i tried your suggestion for Problem #2 in SPO and it didn't work. There are html tags that you use that are invalid for SPO.


Matched Content