cancel
Showing results for 
Search instead for 
Did you mean: 

Public URL for images inside an alfresco site.

drozes
Champ in-the-making
Champ in-the-making
Hi guys;  I have a webapp that I want to show images that are stored inside alfresco.

Is was hoping to redirect all urls aiming for "[appcontext]/images" to some Alfresco url that targets the images and displays it.

Of course this has to be a stateless call with no security.

Any help is greatly appeciated.
3 REPLIES 3

erikwinlof
Confirmed Champ
Confirmed Champ
Hi Drozes,

Could you please elaborate a bit further on your scenario?
If I have understood it correctly you are NOT using Share.
Instead you have "some other webapp". (what is it written in, php, spring surf, something else?)

What information will it need? I.e.
1. Does it already know the url's to the images to display, or shall it not only get the image but also request the list of images to display etc.
2. Is there any need for it o use Share at all? Couldn't it access the repository directly instead?

Cheers, Erik

drozes
Champ in-the-making
Champ in-the-making
We have solved this by using a java class that request Mapping for a URL and processes the request in java.
It than closes the request forcing it to be sent back before running through the quickstart framework.

Message me if anyone else needs help with this.

pragashonlink
Champ in-the-making
Champ in-the-making
I would like to pass the URL of the images inside the Alfresco's repository folder. Would like to know how to generate the full URL for this. Because currently if I use the downloadUrl property it's only displaying a partial path. So, can you please tell me how can I do this. Also, I'm using the javascript API.