Title: [Plugin: NextGEN Gallery] Image Upload
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] Image Upload

 *  Resolved [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/)
 * Hi
 * Im having issues uploading files both with the Flash and Standard Uploader.
 * Im able to create a gallery without an issue and i can see the folder on the 
   server but when i try to upload images i get these errors
 * **Flash:**
    Directory xxxx/xxxx contains no pictures
 * **Standard:**
    xxxxx.jpg is no valid image file!
 * Ive tried changing permissions and created tmp folders but nothing seems to be
   working.
 * Any feedback would be appreciated.
 * mchl

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/page/2/?output_format=md)

 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759512)
 * Sounds like you are using the wrong facility to upload to.
    in WP-ADMIN go to
   the GALLERY – Add Gallery & Images
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759578)
 * Cheers for the response, thats the feature im using.
 *  [fashionmanaged](https://wordpress.org/support/users/fashionmanaged/)
 * (@fashionmanaged)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759638)
 * I’ve only been able to upload images once. And that was a couple weeks ago. I’ve
   been trying all night to upload images I NEEDED to have in my post. Even the 
   last time a few pics didn’t show and the single image uploader didn’t work. I
   hope people aren’t donating money to something that just stops working.
 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759664)
 * You know (both of you) if you really want help with it working you would need
   to provide **SOME** information.
    I (and thousands of others) can tell you the
   plugin works very well indeed. And I have supported and tell my clients who use
   it to donate. (Although its confusing for some with the Euros unless thats been
   changed) You don’t say what category ID you are uploading to. Whether you get
   through the transfer process like the progress thermometer. What kind of file
   you are transferring. Any error message. Apache or IIS. SOME info.
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759679)
 * Apologies, here’s some more info.
 * Its running on Apache and php5
 * Not sure what your referring to when you say category ID, im trying to upload
   through the Gallery » Add Gallery / Images interface.
 * Errors as stated above, i get these when trying to upload.
 * Flash Uploader:
    Directory xxxx/xxxx contains no pictures
 * Standard Uploader:
    xxxxx.jpg is no valid image file!
 * It fails with all file formats eg: .jpg, .gif, .png and fails at the beginning
   of the process, so no progress bar.
 * The the plugin has worked for me previously but is now failing.
 * Cheers for the help.
 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759680)
 * WHat happens after you browse to the image file and click UPload? If there are
   any error messages they will appear at the very top of the page?
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759681)
 * after i click upload i get this error:
 * xxxx.jpg is no valid image file!
 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759682)
 * WHat version of WP?
    What version of Nextgen?
 * What do you have set for: Import image folder?
    What directoris are below there?
   What are the name of your galleres you upload to?
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759684)
 * **WHat version of WP?**
 * WordPress 3.0.1.
 * **What version of Nextgen?**
 * Version 1.6.2
 * **What do you have set for: Import image folder?**
 * wp-content/gallery/
 * **What directoris are below there?**
 * i can see all the gallery directories ive created through next-gen
 * **What are the name of your galleres you upload to?**
 * Here’s a couple of examples:
    pendulum-campaign jayjays-september-2010 test-2
   test-3
 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759688)
 * What is the size of the file uploading? (Try a small one if you have not)
    Are
   you able to FTP a file into the gallery directory? It kind of sounds like a permissions
   error (as you mentioned in your first post) so what are the permissions for the
   gallery? Who is Owner/Group?
 * Here is the function I beleive where the Error is generated (from functions.php)
 *     ```
       // check for allowed extension and if it's an image file
       					$ext = array('jpg', 'png', 'gif');
       					if ( !in_array($filepart['extension'], $ext) || !@getimagesize($temp_file) ){
       						nggGallery::show_error('<strong>' . $imagefiles['name'][$key] . ' </strong>' . __('is no valid image file!','nggallery'));
       						continue;
       					}
       ```
   
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759689)
 * **What is the size of the file uploading? (Try a small one if you have not)**
 * yep, tried an 8k file and got the error.
 * **Are you able to FTP a file into the gallery directory?**
 * yep, i then went to Manage Gallery / Gallery Name and scanned for images and 
   they appeared
 * **It kind of sounds like a permissions error (as you mentioned in your first 
   post) so what are the permissions for the gallery?**
 * they’re currently 777, i changed trying to work out whats going on, but ive tried
   755 too.
 * **Who is Owner/Group?**
 * Owner: 80
    Group: 80
 * These are different from any directory i create, i get an error if i try to change.
 * Here’s the error:
 * The operation couldn’t be completed. Could not change the owner of gallery
 * Error 5: unrecognized error number
 * Here is the function I beleive where the Error is generated (from functions.php)
 * hrrm… yeah, so it doesnt think its an image??
 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759690)
 * could you open a ticket with your host. have them make sure the owner/group in
   the directories is correct. 80 is probably apache (port number) but might be 
   helpul to have them check.
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759691)
 * will do, cheers.
 *  [webjunk](https://wordpress.org/support/users/webjunk/)
 * (@webjunk)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759692)
 * Have you tried usng the default theme?
    Disabling other plugins?
 *  Thread Starter [Nitac](https://wordpress.org/support/users/mchl/)
 * (@mchl)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/#post-1759726)
 * Got my host to look into it and it was a problem at their end, apparently “some
   common upload issues”, but thats all they’d tell me.
 * thanks for all your help webjunk.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/page/2/?output_format=md)

The topic ‘[Plugin: NextGEN Gallery] Image Upload’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 16 replies
 * 3 participants
 * Last reply from: [Nitac](https://wordpress.org/support/users/mchl/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-image-upload-1/page/2/#post-1759735)
 * Status: resolved