This will allow the use-case where you might want to attach a photo to a task to reminder you of the context.
E.g. you take a photo of a recipe that you found somewhere and attach it to a task for preparing it at home.