Archive
Alfresco Video Thumbnails
It seems like every 6 months to never I hear: “The Alfresco thumbnails forge project used to be cool man, what happened?” Chill Winston, it’s still cool.
Now that Alfresco has a native implementation of thumbnails is the forge project still needed? Well, ‘needed’ is relative I suppose, but check out what the project gets you beyond the basic Alfresco distribution:
- Thumbnails when browsing, searching, or viewing a document in Alfresco Explorer (i.e. not Share)
- CoolIris view when browsing or searching in Alfresco Explorer (which is sweet)
- Actions to force the creation or update of thumbnails using Alfresco’s native thumbnail service
- A video transformer based on ffmpeg with the ability to specify an offset (also sweet)
- A patch to delete and regenerate thumbnails created by old versions of the forge project (Admittedly, not that awesome, but useful nonetheless. No one wants a messy bloated repo.)
There’s also several goodies on the roadmap for future releases of the project including Share mods.
So what are you waiting for? Go manage your modules and pop that amp into your war (for the non-geeks, I promise that’s not gross).
Alfresco 3 Thumbnails and the Forge Project
The thumbnails forge project was started quite a while ago (like Alfresco 0.9 or so… old school) and the first public release was put on the forge in late 2006 (which would have been around Alfresco 1.3 I guess).
The project gained the attention of the Alfresco team and they contacted me about making a few changes to bring it more inline with what they had in mind for an implementation, notably creating a public thumbnail service. Those changes were made and I continued to collaborate with Alfresco on the forge project and gave input on their implementation.
Alfresco 3 now has a native implementation of thumbnails and version 1.0 of the forge project migrated to the new architecture, but it’s still cool.
Here’s a look at some of the differences to be aware of between the old thumbnails project implementation and Alfresco’s new native thumbnails:
| Concept | Pre 1.0 Versions of Forge Project | Alfresco 3 Native | |||||||||||||||||||||
| The service responsible for generating and retrieving thumbnails |
ThumbnailServiceThe A specific thumbnail can be generated with overriding options |
ThumbnailServiceThe The content property from which the source data will be read |
|||||||||||||||||||||
| A common size and destination mimetype for thumbnails |
ThumbnailSpecification
|
ThumbnailDefinition
|
|||||||||||||||||||||
| The detailed resizing specifications |
TransformerSpecificationThe specific |
TransformationOptionsThe resizing details are specified using classes containing generic |
|||||||||||||||||||||
| The model type |
tn:thumbnail
Not being of type content prevents most rules from being run on |
cm:thumbnail
Care must be taken to not run rules or index thumbnail nodes since they One suggestion has been to add the following to the thumbnail type:
|
|||||||||||||||||||||
| The model property name of the common size and mimetype destination definition |
tn:specificationNameThe |
cm:thumbnailNameThe new |
|||||||||||||||||||||
| Default thumbnail sizes (max length/width) |
|
|
- Strikethroughs represent deprecated items.
- Avatar thumbnail size has nothing to do with what I can only assume is an incredibly overhyped movie about pissed off blue tree people since I haven’t been to a theater in like 10 years.
This information has been available in the thumbnails project’s 1.0 release readme but as it’s not shown by default I figured I’d post here as well.


