So I have two custom fields that are added to Image uploads. The ‘Location’ rules for the field group is set to ‘Attachment – is equal to – All image formats’
If I edit an image in the Media Library I see my fields.
If I have an image field in one of my pages and use it to select an image, upon selecting the image I see the fields.
However, once I’ve saved the page, and then go back in and ‘Edit’ the image, by selecting the pencil icon, the first time the modal edit window opens I dont see my fields, if I close the modal, click edit again the second time the modal opens I see the fields.
Another interesting thing is that if you click on “update image” in the popup and then click the back button the fields also appear.
I’m also seeing an issue with Shortcodes Ultimate that is installed on the same site.
I’m pretty sure that the first time you try to edit the image is not loaded and ACF cannot detect that it is an “image” and when you try the second time the image is loaded, so ACF works. There are no errors that I can see.