WordPress.org

Support

Support » Plugins and Hacks » Advanced Custom Fields » [Plugin: Advanced Custom Fields] Add Image/File – Media Library Not Displaying Files: Fix

[Plugin: Advanced Custom Fields] Add Image/File – Media Library Not Displaying Files: Fix

  • When I try to add an image or file to a field from the media library, I can’t see my images. I can see how many files I’ve got — it displays “Images (5)” at the top, as it should — but it won’t actually display anything below that. I noticed that a few people have posted about this problem with no real solution, so I thought I’d share how I fixed it myself.

    I played with the frame’s URL and noticed that it works just fine if I remove “&type=image” or “&type=file”. Marvellous! 😀

    To get rid of this bit of the URL permanently, I edited js/input-actions.js to remove “&type=image” from lines 421 & 1486 and “&type=file” from line 365. It works perfectly now.

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Add Image/File – Media Library Not Displaying Files: Fix’ is closed to new replies.
Skip to toolbar