Title: Plugin not adding images
Last modified: July 31, 2017

---

# Plugin not adding images

 *  Resolved [dmpinder](https://wordpress.org/support/users/dmpinder/)
 * (@dmpinder)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/)
 * Hi there,
 * I love this plugin, and really want to use it on my site. However it doesn’t 
   work properly.
 * Whenever I try to upload an image, it appears very briefly in my /uploads/instant-
   images/ folder, then disappears. It doesn’t appear in the Media Library, but 
   the photo thumbnail has a green tick. This is on a site with no plugins, using
   twentyseventeen, but however is installed via Composer using wp as a dependency(
   in it’s own /wp/ folder). I have properly configured `WP_CONTENT_DIR` and `WP_CONTENT_URL`,
   so that shouldn’t be the issue, as the files appear in the temporary folder, 
   then just disappear. I can install other media without using this plugin fine.
 * If I try the plugin on a vanilla WP install (same server env), but not using 
   Composer, then the plugin works fine. So it appears there’s some incompatibility
   when running WP as a sub-folder.
 * Can you suggest a fix?
 * Thanks,
 * Darren

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9367439)
 * Hi [@dmpinder](https://wordpress.org/support/users/dmpinder/),
    Hmm, tough one
   since I don’t a Composer environment to test with.
 * Since the original image is being uploaded and then removed (this is good) it
   appears to mean that the plugin is failing on [media_sideload_image](https://codex.wordpress.org/Function_Reference/media_sideload_image)
   function.
 * What is your max upload file size set to?
 *  Thread Starter [dmpinder](https://wordpress.org/support/users/dmpinder/)
 * (@dmpinder)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9367443)
 * Thanks for the reply! It’s a local dev so 1Gb.
 * I’m running PHP7.0.3 and Nginx.
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9370855)
 * I just set up a test site locally using [Bedrock](https://roots.io/bedrock/) 
   with Composer and Instant Images is working properly on my server.
 * Really not sure what would be happening on your server, but if you wanted to 
   debug.
 * > [https://plugins.trac.wordpress.org/browser/instant-images/trunk/admin/admin.php](https://plugins.trac.wordpress.org/browser/instant-images/trunk/admin/admin.php)
   
   > Line #282 instant_img_resize_image() is where the image is resized and uploaded
   to media library.
 *  Thread Starter [dmpinder](https://wordpress.org/support/users/dmpinder/)
 * (@dmpinder)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9372676)
 * Thanks [@dcooney](https://wordpress.org/support/users/dcooney/), I’ll have a 
   go at debugging this end.
 * Cheers
 *  [tommy9un](https://wordpress.org/support/users/tommy9un/)
 * (@tommy9un)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9693508)
 * Hi All, has there any further progress with this issue?
 * I’m not sure why this thread is marked as “resolved”, I see no indication of 
   a resolution in what is written here…
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9693998)
 * I usually close issues after a month of inactivity.
    Are you having an issue?
   If so, can you please start a new thread. Cheers,

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Plugin not adding images’ is closed to new replies.

 * ![](https://ps.w.org/instant-images/assets/icon-256x256.png?rev=2504172)
 * [Instant Images - One-click Image Uploads from Unsplash, Openverse, Pixabay, Pexels, and Giphy](https://wordpress.org/plugins/instant-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instant-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instant-images/)
 * [Active Topics](https://wordpress.org/support/plugin/instant-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instant-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instant-images/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-adding-images/#post-9693998)
 * Status: resolved