Contact us

If you have any questions about our applications, products or services feel free to contact us:

Choose your location
An error occurred while processing the template.
Error on line 15, column 25 in 10154#10194#10601
appService.getFileEntryByUuidAndGroupId(uuid, groupId) is undefined.
It cannot be assigned to entry
1<#assign appService = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLAppService")> 
2<#assign imageInlineStyle = "" /> 
3<#if Image_alignment.getData() == "middle"> 
4    <#assign imageInlineStyle = "margin: 0 0 10px;" /> 
5<#elseif Image_alignment.getData() == "left"> 
6    <#assign imageInlineStyle = "margin: 0 15px 20px 0;" /> 
7<#elseif Image_alignment.getData() == "right"> 
8    <#assign imageInlineStyle = "margin: 0 0 20px 15px;" /> 
9</#if> 
10<div id="${randomNamespace}" class="basiccontent"> 
11<#if (Zoomimage.getData()?has_content && Zoomimage.getData() != "null")> 
12	<#if (Bild.getData()?has_content && Bild.getData() != "null")> 
13		<#assign uuid = Zoomimage.getData()?replace(".t=.*$", "", "r")?replace("^.*/", "", "r")> 
14		<#if (uuid?has_content)> 
15			<#assign entry = appService.getFileEntryByUuidAndGroupId(uuid, groupId) > 
16			<#if (entry.getExtension() == "pdf")> 
17				<a target="keymile_pdf" href="${Zoomimage.getData()}"><img alt="" style="${imageInlineStyle}" src="${Bild.getData()}" align="${Image_alignment.getData()}"/></a> 
18			<#else> 
19				<span class="zoomImage"><a href="${Zoomimage.getData()}"><img alt="" style="${imageInlineStyle}" src="${Bild.getData()}" align="${Image_alignment.getData()}"/></a></span> 
20			</#if> 
21		</#if> 
22	</#if> 
23<#else> 
24	<#if (Bild.getData()?has_content && Bild.getData() != "null")> 
25		<img alt="" style="${imageInlineStyle}" src="${Bild.getData()}" align="${Image_alignment.getData()}"/> 
26	</#if> 
27</#if> 
28${Inhalt.getData()} 
29</div> 
30<script type="text/javascript"> 
31YUI().use( 
32  'aui-image-viewer-gallery', 
33  function(Y) { 
34    new Y.ImageGallery( 
35
36        caption: '', 
37        captionFromTitle: false, 
38        links: '#${randomNamespace} .zoomImage a' 
39
40    ).render(); 
41
42); 
43</script>