Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP2 (5.2.6)
-
All
Description
Image Gallery incorrectly sets an image's asset mime type. For example, instead of setting a JPEG image's mine type to "image/jpeg", the mine type is set to "jpg" instead.
API CHANGES:
Class: com.liferay.portlet.imagegallery.service.IGImageLocalService
Method: updateTagsAsset(long userId, IGImage image, String[] tagsCategories, String[] tagsEntries)
Status: Deprecated
New method: updateTagsAsset(long userId, IGImage image, String[] tagsCategories, String[] tagsEntries, String contentType)
Class: com.liferay.portlet.imagegallery.service.IGImageLocalServiceUtil
Method: updateTagsAsset(long userId, IGImage image, String[] tagsCategories, String[] tagsEntries)
Status: Deprecated
New method: updateTagsAsset(long userId, IGImage image, String[] tagsCategories, String[] tagsEntries, String contentType)
Class: com.liferay.portlet.imagegallery.service.IGImageLocalServiceWrapper
Method: updateTagsAsset(long userId, IGImage image, String[] tagsCategories, String[] tagsEntries)
Status: Deprecated
New method: updateTagsAsset(long userId, IGImage image, String[] tagsCategories, String[] tagsEntries, String contentType)
Attachments
Issue Links
- is related to
-
LPS-6393 AssetEntry Mime type invalid for IG Image
- Closed