[Plugin: NextGEN Gallery] Image Upload
-
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 picturesStandard:
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
-
Sounds like you are using the wrong facility to upload to.
in WP-ADMIN go to the GALLERY – Add Gallery & ImagesCheers for the response, thats the feature im using.
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.
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.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 picturesStandard 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.
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?
after i click upload i get this error:
xxxx.jpg is no valid image file!
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?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-3What 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; }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: 80These 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??
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.
will do, cheers.
Have you tried usng the default theme?
Disabling other plugins?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.
The topic ‘[Plugin: NextGEN Gallery] Image Upload’ is closed to new replies.