chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Cheng <christopher.sw.ch...@gmail.com>
Subject getting images directly with alfresco
Date Tue, 19 Jul 2011 13:57:34 GMT
I am using Alfresco as the repository for images of an image gallery
implemented in Struts.
The problem is that when the html is presented to the client, I want to pass
the direct URL of the image like this

<img src="http://www.mycompany.com/alfresco/download/direct?path=/CompanyHome/Web
Projects/Images/fantasy.jpg"/>

Of course this doesn't work because the ticket "alf_ticket" is not in the
URL and alfresco will take user to the login page.

How could I get the "alf_ticket" with Apache chemistry API?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message