JoomGallery – The uploaded image doesn't seem to be a valid image file

Joomla JoomGallery

I’ve been experimenting with JoomGallery 2.0 ACL Beta Joomla extension trying to upload large number of images using FTP method. In general I was pretty impressed with this extension and it deals with large uploads pretty well. However, some images failed to import into the gallery with following errors:

Warning: getimagesize(images/joomgallery/ftp_uploads/001 image 1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in (administrator/components/com_joomgallery/helpers/upload.php on line 1684

Filename: 001 image 1.jpg
The uploaded image doesn't seem to be a valid image file.

I obviously checked affected JPGs and they seem to be valid images. The only thing these files had in common was more than one space somewhere in the filename. Removing double spaces fixed the problem and all images were imported successfully.

I reported this bug to developers, hopefully it will be fixes in future releases.

Comments  

jorge
# jorge 2012-05-09 20:55
Muchas gracias!!! llevaba todo el dia en esto y tu me lo has solucionado...g racias por compartir!!

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait