Failed Logo upload in Community 5.2

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Failed Logo upload in Community 5.2

Jump to solution

When I try to upload a logo in the Admin Tools section I get an error message stating "Failure: error occurred during upload of new content". I checked Alfresco.log and the error message was

"[org.alfresco.repo.jscript.ScriptNode] [http-apr-8080-exec-54] 09180461 Unsupported transformation: transformer.ImageMagick image/png to image/png" . I've looked through previous questions and tried different suggestions to no avail. If I drop the image in the Data Dictionary it uploads fine but it has a generic image thumbnail. When I open the image up, it appears in the previewer just fine. Any ideas as to what I should try next?

O/S: Windows 10

Alfresco Community 5.2

1 Solution

Accepted Solutions
Highlighted
Advanced II

Re: Failed Logo upload in Community 5.2

Jump to solution

Hello.

Other guy fixed the problem using the same approach you used, as you can see here https://community.alfresco.com/thread/233528-how-to-solve-the-image-upload-problem-for-dashboar-pane... 

Are you sure the paths are correct?

What do you see in the logs when Alfresco is starting?

View solution in original post

4 Replies
Highlighted
Professional

Re: Failed Logo upload in Community 5.2

Jump to solution

Do you have ImageMagick installed and is the alfresco-global.properties file pointing to the ImageMagick executable?

Highlighted
Member II

Re: Failed Logo upload in Community 5.2

Jump to solution

I downloaded and installed the most recent version of ImageMagick and modified the global properties (shown below):

img.root=C:\\Program Files\\ImageMagick-7.0.7-Q16
img.dyn=${img.root}\\lib
img.coders=${img.root}\\modules\\coders
img.config=${img.root}
img.exe=${img.root}\\convert.exe

Highlighted
Advanced II

Re: Failed Logo upload in Community 5.2

Jump to solution

Hello.

Other guy fixed the problem using the same approach you used, as you can see here https://community.alfresco.com/thread/233528-how-to-solve-the-image-upload-problem-for-dashboar-pane... 

Are you sure the paths are correct?

What do you see in the logs when Alfresco is starting?

View solution in original post

Highlighted
Member II

Re: Failed Logo upload in Community 5.2

Jump to solution

So, after installing the latest version of ImageMagick and changing the global properties, it did work. The problem was that I was unable to stop and restart the local server due to not having admin privileges for this computer (work laptop). Once I was given the authority to stop and start the service and have Alfresco use the new properties, the image upload worked and my image thumbnail previews worked as well.