Page 1 of 1

Multiple Upload & JPEG file extension

Posted: 06 Nov 2013, 20:26
by zechris
Joomla 2.5
Phoca Gallery 3.2.6

Issue: Multiple upload does not recognize .JPEG/.jpeg file extensions.

Misc Info: I am able to upload .JPG/.jpg and .jpeg/.JPEG file extensions via single upload, but I am unable to upload any files with the .jpeg/.JPEG file extension via Multiple Upload. When I select "Add Images" from the Multiple Upload tab, it defaults to show Custom Files which only shows .jpg/.JPG file extensions. When I click the drop down box and select All Files, it will then show all file extensions. If I select any file with the extension .jpeg/.JPEG, I get an error stating invalid file extension, but do not receive any errors with the Single Upload feature.

Re: Multiple Upload & JPEG file extension

Posted: 07 Nov 2013, 02:06
by Jan
Hi, go to:

administrator\components\com_phocagallery\libraries\phocagallery\file\fileuploadmultiple.php

and change FROM:

Code: Select all

$js.='			{title : "'.JText::_('COM_PHOCAGALLERY_IMAGE_FILES').'", extensions : "jpg,gif,png"}'."\n";
TO:

Code: Select all

$js.='			{title : "'.JText::_('COM_PHOCAGALLERY_IMAGE_FILES').'", extensions : "jpg,gif,png,jpeg"}'."\n";
I will set it for next version.

Jan

Re: Multiple Upload & JPEG file extension

Posted: 07 Nov 2013, 06:15
by zechris
Worked Perfectly! Thank you.

Re: Multiple Upload & JPEG file extension

Posted: 07 Nov 2013, 14:30
by Jan
Ok