You should already be able to do that.
When you click an image in the editor, a toolbar should appear above it. One of the buttons in the toolbar is a pencil. Click this pencil button to edit the image.
Yes you are right if the image is shown in the editor.
But im looking for the dialog oudside of the editor.
Im writing a plugin that shows you all images to the post, just a simple list of images at the bottom. And im looking for that dialog:
Screen
Ah ok. I haven’t messed with that bit myself, but I assume you might be able to track it down in /wp-admin/media.php
Thanks for the tip!
I will look in the media.php. Is it also possible to set a hook for the media upload? For example if i want to change the upload directory to /uploads/2015/01/postID/?
So that all images from one post are at a seperat directory?
Thanks for your help James!
Hm, I’m not sure myself either, but I have seen plugins set their own upload directories.
Have you seen https://developer.wordpress.org/reference/ ?
Is it also possible to set a hook for the media upload? For example if i want to change the upload directory to /uploads/2015/01/postID/?
Yes. Use the ‘upload_dir’ filter, applied from wp_upload_dir()
Thanks for helping, bcworkz!