Comments (3)
Due a problem in the RestApi the thumbnail could be not generated during the upload:
When this problem occurs , the thumbnails have to be asked with the parameter c=queue in order to be regenerated.Something like :
More details can be found also in this discussion in the forum:
With this parameter probably the thumbnails are regenerated every time ( this is the approach used in Share ).
Despite the fact that this approach regenerate the thumbnail you need to reload it at least once in order to display it.
from alfresco-js-api.
Maybe we can add inside the alfrescoContent api a system that call the renditions api:
POST /nodes/{nodeId}/renditions
when one of thumbnail link return 404 in order to ask to regenerate it
from alfresco-js-api.
From the conversation with @ohej we can:
For multipart/form-data upload you can use the renditions field to create renditions (e.g. doclib) asynchronously upon upload. Note that currently only one rendition can be requested. Also, as requesting rendition is a background process, any rendition failure (e.g. No transformer is currently available) will not fail the whole upload and has the potential to silently fail.
the parameter is parsed here
from alfresco-js-api.
Related Issues (20)
- Move typings in a separate folder to fix TS compilation
- Use of `any` types makes library almost impossible to use HOT 2
- Running tsc after importing @alfresco/js-api throws 900 errors HOT 8
- PR #1081 does not fully fix type errors HOT 6
- Wrong type definition for nodesApi.getNodeContent HOT 1
- Type definition for uploadApi.uploadFile incorrect and not complete
- basic auth without ticket HOT 1
- Extract zip files in Alfresco using js-api HOT 1
- [NodeJs, Ts] misleading type information for type Blob from getNodeContent method HOT 1
- tslib not set as a dependency
- console.log() of error
- Support custom content type on fileUpload HOT 2
- runtime HOT 1
- The FileApi declareRecord method doesn't support parentId parameter
- Property 'webScript' does not exist on type 'AlfrescoApi' HOT 1
- How to get response headers when using callAPI? HOT 1
- Typo in `query` -> `queries` property of RequestFilterQueriesInner class HOT 4
- authPath not work HOT 3
- Issues with array JSON content HOT 2
- getNodeContent throwing error HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfresco-js-api.