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.
Multiple Upload & JPEG file extension
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multiple Upload & JPEG file extension
Hi, go to:
administrator\components\com_phocagallery\libraries\phocagallery\file\fileuploadmultiple.php
and change FROM:
TO:
I will set it for next version.
Jan
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";Code: Select all
$js.=' {title : "'.JText::_('COM_PHOCAGALLERY_IMAGE_FILES').'", extensions : "jpg,gif,png,jpeg"}'."\n";Jan
If you find Phoca extensions useful, please support the project
-
zechris
- Phoca Newbie

- Posts: 2
- Joined: 06 Nov 2013, 20:12
Re: Multiple Upload & JPEG file extension
Worked Perfectly! Thank you.
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multiple Upload & JPEG file extension
Ok
If you find Phoca extensions useful, please support the project