Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-15730

Thumbnail of PNG file is not created

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • None
    • 2.10.2
    • None

    Description

      It seems that png files, which were edited with Adobe Firework by adding layers and objects aren't generated as Thumbnail anymore.
      An example is
      Bild 1.png
      which was created by editing
      Bild 1_orig.png , which is a simple Screenshop produced with Mac OS X 10.5

      Testcase

      This case was reproduced with other edited pngs as well.
      The Testcase is the Wiki-Markup

      !Bild 1_orig.png|thumbnail!
      !Bild 1_orig.png!
      !Bild 1.png|thumbnail!
      !Bild 1.png!
      

      The given PNGs Bild 1_orig.png and Bild 1.png are attachments of the page.

      Results

      In the preview, the output is

      and on the saved page, nothing is visible at all.

      The generated HTML-Code for this part is

      <p><a class="confluence-thumbnail-link 502x49" href="http://intra.grueneerde.com/download/attachments/5800001/Bild%201_orig.png"><img src="/download/thumbnails/5800001/Bild%201_orig.png" align="absmiddle" border="0"></a><br>
      <img src="/download/attachments/5800001/Bild%201_orig.png" align="absmiddle" border="0"><br>
      <a class="confluence-thumbnail-link 502x49" href="http://intra.grueneerde.com/download/attachments/5800001/Bild%201.png"><img src="/download/thumbnails/5800001/Bild%201.png" align="absmiddle" border="0"></a><br>
      <img src="/download/attachments/5800001/Bild%201.png" align="absmiddle" border="0"></p>
      

      Trying to access

      http://intra.grueneerde.com/download/thumbnails/5800001/Bild%201.png
      

      brings up the exception

      java.lang.RuntimeException: java.io.FileNotFoundException: Thumbnail file for attachment Bild 1.png is '/data/confluence/thumbnails/5800001/thumb_Bild 1.png'. But this file does not exist.
      

      For full error page see RuntimeException.html

      As I can see, thumbnailing this things at least works in this Jira-Version

      Attachments

        1. Bild 1_orig.png
          Bild 1_orig.png
          7 kB
        2. Bild 1.png
          Bild 1.png
          52 kB
        3. Bild 12.png
          Bild 12.png
          16 kB
        4. Bild 13.png
          Bild 13.png
          15 kB
        5. RuntimeException.html
          25 kB

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              875aa5115682 Christian Vorhauer
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: