Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: Legacy > Image Gallery
-
Labels:None
-
Environment:Tomcat 7.0.21 + MySQL 5. 6.1.x Revision: 91482.
-
Similar Issues:
Description
Media gallery allows non image types to be uploaded when you select to add an image
1. Add the Media Gallery
2. Configure it to show everything
3. Add a folder
4. In that folder, click on Add Media
5. Choose Image for the media type
6. Upload a file that doesn't end with .bmp, .gif, .jpeg, .jpg, .png, .tif, or .tiff
7. Click Publish
The request completes successfully and in the folder you will see the file that was uploaded. Previously, the image gallery would give you an error message that told you to upload an image file that ends with .bmp, .gif, .jpeg, .jpg, .png, .tif, or .tiff
Issue Links
- relates
-
LPS-22112
Update Documents Library and Image Gallery in Control Panel>Server Administration> File Upload
-

In 6.1, the Media Gallery no longer manages entries via extension but by mime type. In the fix, the error message will be that certain mime types are not allowed rather than extensions.
The entries in portal.properties "ig.image.extensions" will be removed based on
LPS-22112.