Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31364

Image width is set to "0" in previous builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • image-gallery-plugin
    • MacOS 10.10.5
      Jenkins 1.634
      image gallery plugin 1.2

      Our configuration uses this plugin on archived artifacts. In the configuration, we don't define an image width.

      In latest build, the images are displayed correctly (full size).
      In previous builds, the images are not visible; inspecting the page source code shows that image width is set to "0".

      <h2>Screenshots</h2>
      <a href="artifact/reports/iPad/Test_AddFavoriteContact/20151030_161534.368//Screen_Error.jpeg" title="reports/iPad/Test_AddFavoriteContact/20151030_161534.368//Screen_Error.jpeg" class="gallery"><img src="artifact/reports/iPad/Test_AddFavoriteContact/20151030_161534.368//Screen_Error.jpeg" width="0" title="Image 0" /></a>
      

      Changing the size in the source code (using Chrome inspector, for example) brings back the images.

        1. works.jpg
          works.jpg
          278 kB
        2. no_work.jpg
          no_work.jpg
          233 kB
        3. imageWidth.patch
          0.9 kB

            kinow Bruno P. Kinoshita
            fdubuisson Frédéric Dubuisson
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: