EPiServer indexes references with some delay, so you won't see result immediately, but you will definitely see result in say a minute after publishing.
Image and page links will be indexed only if they are contained in page data properties with property types which implements IReferenceMap
. In some cases such properties should be marked as IsSearchable
.
So, you can expect indexing of images from the following Property Types:
PropertyUrl
,PropertyFileUrl
,PropertyDocumentUrl
,PropertyImageUrl
PropertyXhtmlString
ProperyLinkItemCollection
- Bonus property -
PropertyPageReference
as EPiServer treats it separately from all others. Noting to deal with images, but good to know