Home › Forums › General Issues › image upload button disappears after the image gets deleted from media library › Reply To: image upload button disappears after the image gets deleted from media library
I just had this issue today as well. The postmeta database table was still holding the post ID for the images that were being pointed to, which is why the button wouldn’t appear. I also did what slunt32 did, but it screwed up for me. So I just popped into MySql and ran an update on my meta_key to set it to ”. After that, it was fine.
If anyone could bother, you could always write …. ah, I just read acobster’s fix. Yeah, you could do that. Check the post id in the post_meta to see if the attachment url actually points to a media file.
Potato of Fortune,
Potato
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.