Title: Image file problems
Last modified: August 21, 2016

---

# Image file problems

 *  Resolved [johnk32](https://wordpress.org/support/users/johnk32/)
 * (@johnk32)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/)
 * Hi,
 * Things seem to be getting complicated. I was trying to install the Google Analytics
   plugin and having given up I found that trying to load a new image file into 
   the media library gave a message ** “Missing temporary folder”**.
 * After trying fixes on the WordPress forum, adding new folders from recolection,
   I gave up and re-installed wordpress and restored the SQL database using PHP 
   Import.
 * After this, in addition to the loading images problem everything except the pdf
   files had disapeared from the Media Library. Oddly, on missing image appeared
   in one of my web pages but not several others.
 * I upgraded from WP 3.7.1 to 3.8 using the Dashboard recently – incase that might
   matter.
 * Can anyone see what has happened?
 * Thanks,
    John.

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

 *  [evanvolgas](https://wordpress.org/support/users/evanvolgas/)
 * (@evanvolgas)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412652)
 * Media images are not stored in the database… they are stored in WP Uploads and
   the database contains some metadata about them. _[link removed]_ If you reinstalled
   WordPress and just did a SQL restore, you haven’t restored your images yet. In
   fact I’m a bit worried you may have deleted them 🙁
 * Do you still have your old WordPress install somewhere?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412653)
 * **[@evanvolgas](https://wordpress.org/support/users/evanvolgas/)** – are you 
   connected to that site you linked to above? Are you aware that domain name is
   in violation of WP.ORG’s trademark and domain name policy?
 * [http://wordpress.org/about/domains/](http://wordpress.org/about/domains/)
 * [http://wordpressfoundation.org/trademark-policy/](http://wordpressfoundation.org/trademark-policy/)
 *  [evanvolgas](https://wordpress.org/support/users/evanvolgas/)
 * (@evanvolgas)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412655)
 * I have no connection with the site at all. And yes I am aware of that now that
   you mention it…. but I must confess I typically look at whether or not content
   is useful when I’m visiting a website, not whether or not they’re obeying copyrights.
   Thanks for pointing it out. Feel free to take it up with them. I have no connection
   to them and don’t really care. It’s a shame the link had to be removed though…
   because that article was actually very relevant to what this member was asking.
 *  [evanvolgas](https://wordpress.org/support/users/evanvolgas/)
 * (@evanvolgas)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412656)
 * A second source to answer your question johnk32, and one that hopefully is not
   afoul of any copyrights [http://weblogs.about.com/od/wordpresstutorialstips/qt/What-Bloggers-Need-To-Know-About-Wordpress-Files-And-Database.htm](http://weblogs.about.com/od/wordpresstutorialstips/qt/What-Bloggers-Need-To-Know-About-Wordpress-Files-And-Database.htm)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412657)
 * >  I have no connection with the site at all
 * Glad to hear that :).
 * >  It’s a shame the link had to be removed though… because that article was actually
   > very relevant to what this member was asking.
 * Yep – looks like you found another one, thanks.
 *  Thread Starter [johnk32](https://wordpress.org/support/users/johnk32/)
 * (@johnk32)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412686)
 * Hi,
 * Thanks for replies. I think I probably have lost the images because they do not
   show in the Media Dashboard panel – just blank boxes.
 * I have not downloaded my wordpress files, there are rather a lot of them. Do 
   I have to repeatedly download all files or can I be selective?
 * Thanks,
    John.
 *  Thread Starter [johnk32](https://wordpress.org/support/users/johnk32/)
 * (@johnk32)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412687)
 * P.S. One other think I have been wondering. Do the wordpress files have to be
   backed up at the same time as the SQL database in order to maintain the integrity
   of the site?
 *  Thread Starter [johnk32](https://wordpress.org/support/users/johnk32/)
 * (@johnk32)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412688)
 * It seems that the nex thing I have to do is to get the temorary directory set
   up. My PHP info says:
 * upload_tmp_dir no value
 * Without that I cannot put the images back on the site.
 * I suspect that I also need to re-enter all the content by hand this time, rather
   than using PHP Import, to ensure the integrity of all data, file content and 
   settings.
 *  Thread Starter [johnk32](https://wordpress.org/support/users/johnk32/)
 * (@johnk32)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412692)
 * From what evanvolgas was saying above, it looks as if the following code could
   be useful:
 * <?php $upload_dir = wp_upload_dir(); ?>
    <?php echo $upload_dir[‘baseurl’]; ?
   >
 * Do you put this is a file in your main server dir (mine is “www”) and run it 
   or do you go into MyPHP?
 * This seems to give you info. There appears to be a “upload_url_path” option to
   set the dir up. (As you can see I am not familiar with PHP as yet.)
 *  Thread Starter [johnk32](https://wordpress.org/support/users/johnk32/)
 * (@johnk32)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412756)
 * The problem mysteriously cleared up.

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

The topic ‘Image file problems’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [johnk32](https://wordpress.org/support/users/johnk32/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/image-file-problems/#post-4412756)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
