Consider a social-interface like Facebook and Twitter. Users can share posts/notes that are displayed in feed. In a note/post, you can add text as well as images & files. Now if a user likes that post, it's simple to display the post like in feed(it's a Facebook-style newsfeed). But what if the user likes an image/file in that post, what is the best way to displaying the like on that image/file like in feed while differentiating it from the post like.
I checked this on Facebook, and Facebook doesn't display image likes in feed. The likes on an image are only visible when you open the image to view it.