cancel
Showing results for 
Search instead for 
Did you mean: 

doclib rendition not working on alfresco sdk 4

lakhansingh87
Champ in-the-making
Champ in-the-making

I need to store images files in multiple resolutions. So I tried to store images file using doculib rendition.

I am getting below error:

"error": {

"errorKey": "framework.exception.ApiDefault"
"statusCode": 400
"briefSummary": "Unsupported rendition doclib from image/jpeg size: 91034 using legacy transform"
"stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions"
 
 
Request is given below:
 
Post: http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/4eb47133-f7d0-4ab6-ae0d-049358e05c29/renditions
 
Body: {"id":"doclib"}.
 
Can someone please help me.
 
1 REPLY 1

narkuss
Star Contributor
Star Contributor

If you are using Alfresco 6.2, look at this great post from Angel Borroy: https://hub.alfresco.com/t5/alfresco-content-services-blog/quick-reference-for-transformers-in-acs-c... and check out this answered post: https://hub.alfresco.com/t5/alfresco-content-services-forum/alfresco-large-file-preview-problem/td-p....

Basically, if you are generating renditions from share, you must specify maxSourceSizeKbytes in Alfresco properties. If you are using ADF, you should override t-engine configuration