Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-7306

Thumbnails created with a zero (0) file size and thumbnail image does not appear in Share document library

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 3.2 R, 3.2
    • Fix Version/s: 3.3
    • Component/s: Installer, Repository
    • Labels:
      None
    • Environment:
      Windows XP SP3, Community v3.2 and v3.2r
    • ACT Numbers:

      15907

    • Testcase ID:
      Hide

      Tested the fix in community v3.2 using Windows XP SP3.

      Show
      Tested the fix in community v3.2 using Windows XP SP3.

      Description

      Thumbnails are always created with a zero file size. This occurs, for example, in Share when uploading a jpg, when executing a javascript action to generate a thumbnail or uploading a Share profile avatar.

      The following message is generated in the log when DEBUG is set:
      15:03:07,197 DEBUG [org.alfresco.util.exec.RuntimeExec] Execution result:
      os: Windows XP
      command: [C:/devtools/ImageMagick-6.5.7-Q16/imconvert, C:\devtools\apache-tomcat-6.0.18\temp\Alfresco\ImageMagickContentTransformer_source_6794085110837159309.png[0], -thumbnail, 100x100, C:\devtools\apache-tomcat-6.0.18\temp\Alfresco\ImageMagickContentTransformer_target_9019625159893596094.jpg]
      succeeded: true
      exit code: -1072365564
      out:
      err:

      Solution posted by Nicola Prando in the following post:
      http://forums.alfresco.com/en/viewtopic.php?f=36&t=23723&p=83059#p83059

      Solution summary: Add the following entry to imagemagick-transform-context.xml:

      <entry key="SYSTEMROOT">
      <value>C:/WINDOWS</value>
      </entry>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                stevegreenbaum Steve Greenbaum
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: