cancel
Showing results for 
Search instead for 
Did you mean: 

Images are not getting displayed.

avinashg
Champ in-the-making
Champ in-the-making
I have created webscripts to show images in a folder.
But it shows images only when I have explorer login in another window.
Otherwise it just shows img alt names for images ( doesn't load image content.)
I tried by changing <authentication>admin</authentication> as well.
But result is same.

Below is code for showing images.

html.ftl file code:
<#list folder as child>
    <#if child.isDocument>
           <img alt="${child.name}" src="/alfresco/${child.url}"  />
    </#if>
</#list>


Below is description file:
<url>/show_images</url>
<format default="html">extension</format>
<authentication>guest</authentication>


Any help in this will be appreciated.
1 REPLY 1

bchevallereau
Champ in-the-making
Champ in-the-making
Hi
Do you try with ${child.downloadUrl} ?
Ben