Is it possible to set the source of an image field so it filters on a specified template name. so only showing these images to be associated with the item

Tried various ways from the following link


1 Answer 1


Image fields does not support data source query, and it is not possible to extend this filed type to support the functionality that you want.

Associating images to items based on the image template is maybe not a good idea. In Sitecore all images (of same file type) will get the same template when you upload an image. I think it would be better to associate images to content items based on their location in the media library.

It is possible to extend the image field type to support a query that dynamically set the root folder as described in this blog post. Maybe that can be helpful in your situation.

  • 1
    the worpress page was deleted Commented Feb 24, 2019 at 10:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.