• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • image-gallery-plugin
    • None

      Allow responsive value for "Image width" attribute. Eg.: "80%".
      Plugin now allow only number in this filed.

          [JENKINS-23772] Percent for image width attribute

          Good idea. Implementing it today in the plug-in code

          Will try my best to keep backward compatibility with some XStream-fu.

          Thanks for reporting the issue.
          Bruno

          Bruno P. Kinoshita added a comment - Good idea. Implementing it today in the plug-in code Will try my best to keep backward compatibility with some XStream-fu. Thanks for reporting the issue. Bruno

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/jenkinsci/plugins/imagegallery/AbstractArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/ImageGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/InFolderComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/MultipleFolderComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction.java
          http://jenkins-ci.org/commit/image-gallery-plugin/d3512f0bad0df74011a5b3f9df8de7ee3ae1ec63
          Log:
          JENKINS-23772 Use String for image width rather than ints

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/jenkinsci/plugins/imagegallery/AbstractArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/ImageGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/InFolderComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/MultipleFolderComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction.java http://jenkins-ci.org/commit/image-gallery-plugin/d3512f0bad0df74011a5b3f9df8de7ee3ae1ec63 Log: JENKINS-23772 Use String for image width rather than ints

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/jenkinsci/plugins/imagegallery/AbstractArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/ImageGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/InFolderComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/MultipleFolderComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction.java
          http://jenkins-ci.org/commit/image-gallery-plugin/a7eb7fd7b3e602c05e4da2a2a0896ffa695c6bf0
          Log:
          JENKINS-23772 Use String for image width rather than ints

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/jenkinsci/plugins/imagegallery/AbstractArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/ImageGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/InFolderComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/MultipleFolderComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction.java http://jenkins-ci.org/commit/image-gallery-plugin/a7eb7fd7b3e602c05e4da2a2a0896ffa695c6bf0 Log: JENKINS-23772 Use String for image width rather than ints

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/InFolderComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/comparative/MultipleFolderComparativeArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGallery.java
          src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction.java
          src/main/resources/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction/filetree.jelly
          src/main/resources/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction/summary.jelly
          src/main/resources/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction/summary.jelly
          src/main/resources/org/jenkinsci/plugins/imagegallery/imagegallery/ComparativeArchivedImagesGalleryBuildAction/summary.jelly
          http://jenkins-ci.org/commit/image-gallery-plugin/8128c33bc10535cf801ede131b6f188265da9736
          Log:
          [FIXED JENKINS-23772] Fix jelly views

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/InFolderComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/comparative/MultipleFolderComparativeArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGallery.java src/main/java/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction.java src/main/resources/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction/filetree.jelly src/main/resources/org/jenkinsci/plugins/imagegallery/comparative/ComparativeImagesGalleryBuildAction/summary.jelly src/main/resources/org/jenkinsci/plugins/imagegallery/imagegallery/ArchivedImagesGalleryBuildAction/summary.jelly src/main/resources/org/jenkinsci/plugins/imagegallery/imagegallery/ComparativeArchivedImagesGalleryBuildAction/summary.jelly http://jenkins-ci.org/commit/image-gallery-plugin/8128c33bc10535cf801ede131b6f188265da9736 Log: [FIXED JENKINS-23772] Fix jelly views

          Balint Kovacs added a comment -

          Great, thank you!

          Balint Kovacs added a comment - Great, thank you!

          Fixed in 1.2

          Bruno P. Kinoshita added a comment - Fixed in 1.2

            kinow Bruno P. Kinoshita
            kovacsbalu Balint Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: