func ImageTags(s *models.Image, rw models.ImageReaderWriter, tagReader models.TagReader, cache *match.Cache) error {
	t := getImageFileTagger(s, cache)

	return t.tagTags(tagReader, func(subjectID, otherID int) (bool, error) {
		return image.AddTag(rw, subjectID, otherID)
	})
}
// ImageTags tags the provided image with tags whose name matches the image's path.
ImageTags tags the provided image with tags whose name matches the image's path.
// ImageTags tags the provided image with tags whose name matches the image ' s path .
func ImageTags(s *models.Image, rw models.ImageReaderWriter, tagReader models.TagReader, cache *match.Cache) error {
	t := getImageFileTagger(s, cache)
	return t.tagTags(tagReader, func(subjectID, otherID int) (bool, error) {
		return image.AddTag(rw, subjectID, otherID)
	})
}
func ImageTags ( s * models . Image , rw models . ImageReaderWriter , tagReader models . TagReader , cache * match . Cache ) error { t := getImageFileTagger ( s , cache ) return t . tagTags ( tagReader , func ( subjectID , otherID int ) ( bool , error ) { return image . AddTag ( rw , subjectID , otherID ) } ) }
ImageTags tags the provided image with tags whose name matches the image's path.
ImageTags tags the provided image with tags whose name matches the image ' s path .