cancel
Showing results for 
Search instead for 
Did you mean: 

Load Thumbnail Alfresco 3.2r whith FLEX/ ActionScript

ramos69
Champ in-the-making
Champ in-the-making
CAn anyone help me load the thumbnails os the documents to my flex aplication?

I think I have their url fine.. is it this???

….:8080/alfresco/api/node/workspace/SpacesStore/b1f8cb8e-09c7-4f3c-8ff0-439647c84fc8/content/thumbnails/medium?c=force&ph=true&alf_ticket=TICKET_892a1a0b61389fb42a1e8feae08bba9ece4e06e7

I try to load this as an Image…

<mx:Image id="thumbnail" autoLoad="true" source="{thumbnailUrl}" visible="true" includeInLayout="true"/>


The url above is the source…

Can someone give me a hand????

Thanks
4 REPLIES 4

rwetherall
Confirmed Champ
Confirmed Champ
Yes, the URL you are using looks correct.

What behaviour are you seeing?

Cheers,
Roy

ramos69
Champ in-the-making
Champ in-the-making
Well, this is what appeared on my application:

[img]
http://img46.imageshack.us/i/flexz.jpg/
[/img]

Is it a way we could know if the thumbnails is well formed? or was created?

I'm having problem resolving this..

Thanks for the help..

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

If you want to check that the thumbnail has been correctly created go into the Explorer client and use the Node Browser (found on the admin page) to navigate to the node in question.

If it has been thumbnailed correctly it will have an association (named the same as the thumbnail) to the thumbnail node.  From the thumbnail node you can click on the content and see that its correct.

I'm not sure where the URL in the [img] tags has come from.  I would have expected the URL directly to the thumbnail to appear there?

Cheers,
Roy

ramos69
Champ in-the-making
Champ in-the-making
well my problem is solved….

I'm using Alfresco 3.2r on fedora… And i didn't had ImageMagick installed as so the thumbnails were not created….

Thanks Roy for the help..

Cláudio Ramos