I need to develop a plugin where the user can modify his pictures (assets) on the fly. I've already done that in another PHP project and am willing to port it on craft, but I cant find any way on how to access assets, and what's the best way of doing it.
- First, I want my plugin to act on asset sources, like you enable it or not.
- Then, I want to add a button in the small window that opens up when you double click an asset (in an entry for example), how can one achieve this ?
Thanks a lot !
Edit Usecase : I have an image gallery, where albums are a structure, and you can add images in any of them. New albums can be added by other users. When they double click a picture in the entry editor, I'd like to display a button that says something like "edit" (under the default options). I tried using a new field type but it's not the good and legit solution I guess.