How would I add functions to images? I host a photography site, in which I'd like to add options to favorite an image or attach it to a product for ordering.
Is there a hook or something that I can tap into to add a few buttons to each image on hover?
Which Wordpress functions or files handles image management?
Ideally, I would also need a function that would limit it to specific post types (photo album) so that these functions are not being added to non relevant images.
I have some familiarity with php, but I haven't done much playing with hooks or anything so the more guidance I could get the better. I often get stuck in customizing trying to interpret the code in existing themes/ plugins to really know how to modify anything.
I am not asking for help in creating the functions: just to be pointed in the right direction as the hooks I could tap into to do what I've gotta do. There are so many, that I'm not sure where to look.