Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1745

Image Gallery images have invalid mime type

Details

    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

          Activity

            People

              mingda.yi Kevin Yi (Inactive)
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)