cancel
Showing results for 
Search instead for 
Did you mean: 

Thumbnail Confusion

dc41
Champ in-the-making
Champ in-the-making
I'm confused about the thumbnail capability in the Document Library on Alfresco Share. I see there is a third party project for version 2.x, but I've also read that 3.x has the feature built in.

Should I see thumbnails in my Document Library after I upload a file? All I see is the little double-gear icon. Do I need to enable something?

Thanks!
7 REPLIES 7

mikeh
Star Contributor
Star Contributor
V3.0 doesn't use the third-party extension.

You need to make sure ImageMagick and OpenOffice are installed for thumbnailing Office docs, etc. You also need pdf2swf for the web preview in details view.

Mike

dc41
Champ in-the-making
Champ in-the-making
Thanks for the response, Mike. I just want to make sure we're talking about the same thing.

I'm referring to the thumbnails you see as soon as you click on "Document Library". All my files have the double-gear symbol. If I click on the file (in this case a jpg), it brings up the detail page that allows me to zoom, full screen, etc. It works for .doc and .pdf files as well. I assume that means Imagemagick, openoffice, and pdf2swf are all working.

But there are only double-gear icons in the details view and generic doc-type icons in the simple view on the document library index page. Shouldn't these be replaced with generated thumbnails of the file itself?

Any suggestions?

Thanks!

jpfi
Champ in-the-making
Champ in-the-making
Hi,
I had the same issue and resolved it by clicking refresh in browser when viewing doclib (in my case FF 3.3 seems to cache sth.).
You can use the nodebrowser to find out if your document has an attached thumbnail. All documents in doclib should have two childAssocs:
webpreview: the swf preview
doclib: the thumbnail displayed in doclib
Cheers, Jan

dc41
Champ in-the-making
Champ in-the-making
The node browser doesn't show any children for any of the uploaded files, so I must have something set up incorrectly.

Here's the entire log from startup to uploading some files.
13:30:38,821 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
13:30:41,673 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
13:30:41,675 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 421.63638ms)
13:31:42,479 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
13:31:42,479 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 60783.074ms)
13:31:42,633 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
13:32:02,218 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
13:32:14,996 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
13:32:15,535 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
13:32:17,885 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.
13:32:18,556 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/Alfresco/alf_data
13:32:18,608 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
13:32:19,022 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
13:32:19,027 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
13:32:19,675 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_12-b04; maximum heap size 455.125MB
13:32:19,676 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB
13:32:19,677 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
13:35:34,805 INFO  [org.alfresco.repo.activities.post.lookup.PostLookup] Update: 1 activity posts
13:36:05,074 INFO  [org.alfresco.repo.activities.feed.FeedTaskProcessor] >>> Generated 4 activity feed entries for 1 activity posts

Last lines of    Only show lines with text   

Could the head size max be causing any problems?

mikeh
Star Contributor
Star Contributor
It sounds like OpenOffice and pdf2swf are working ok, but possibly not ImageMagick.

Could you post the beginning of the alfresco.log file (i.e. the bit on server start)..?

Thanks,
Mike

dc41
Champ in-the-making
Champ in-the-making
I got it fixed! ImageMagick was installed and alfresco was pointed to the proper place. It just wasn't working.

So I "yum erased" the ImageMagick install that came from the Fedora 10 depo… then downloaded and installed the rpm from imagemagick.org.

Now thumbnails are working!  Thanks again for your help Mike.  :mrgreen:

mikeh
Star Contributor
Star Contributor
Glad you got it sorted - thanks for the follow-up.

Mike