Support » Plugin: Instant Images - One Click Unsplash Uploads » Works well EXCEPT in the customizer

  • Resolved bchalker


    Works well except in the customizer mode. I can open up the media library to place images, but the instant images button it not available or shown in that view.thanks for the great plugin regardless. Any idea why it won’t show, tho?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dcooney


    Hi bchalker,
    What theme are using where it would be in the Customizer?

    The Instant Images button is only added to edit screens currently.


    It’s a custom one I developed. Allows for background image uploads, specifically.


    Plugin Author dcooney


    Ya then the reason it isn’t showing is because it hasn’t been told to display in that area.

    Thanks. How would I tell it to display? I don’t see that in the admin settings.

    Plugin Author dcooney


    THe button is added by hooking into the media_buttons action. So you’d have to do some work there.

    And then call the instant_img_media_popup_content action. Which currenty only runs on the following admin actions.

    add_action( 'admin_head-post.php',  'instant_img_media_popup_content' );
    add_action( 'admin_head-post-new.php',  'instant_img_media_popup_content' );
    add_action( 'admin_head-edit.php',  'instant_img_media_popup_content' );

    Check out instant-images/admin/admin.php starting at line 106

    • This reply was modified 3 years, 6 months ago by dcooney.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Works well EXCEPT in the customizer’ is closed to new replies.