Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4427

Allow all thumbnails generation size

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Minor
    • xCM 5.0 SP6
    • xCM 5.0 SP5
    • None

    Description

      It would be usefull to allow users to generate all size thumbnails.

      A simple way would be to add a new parameter " thumbnail.allow_all_size=true" in WEB-INF/etc/slide/listener.properties and then change the test in class
      org.jahia.services.webdav.listeners.IMGSlideContentListener to create the thumbnail and to not return if allow_all_size is true.

      if (!props.getProperty("thumbnail.size").equals(s))

      { return; }

      So the image /jahia/webdav/site/site1/shared/image.jpg could be resize directly to 200px by calling it with /jahia/webdav/site/site1/shared/image_th_200.jpg

      TestRail: Results

        Attachments

          Activity

            People

              shyrkov Sergiy Shyrkov (Inactive)
              pvollenweider_old Philippe Vollenweider (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 5.0 SP6