diff --git a/orga/templates/orga/orga_main.html b/orga/templates/orga/orga_main.html
index b83c6e8..333091c 100644
--- a/orga/templates/orga/orga_main.html
+++ b/orga/templates/orga/orga_main.html
@@ -151,10 +151,18 @@ function setNodeTemplate(obj, diagram) {
// create the image element to map the image data from the data source
var image = new ej.diagrams.ImageElement();
- image.id = obj.id + '_pic';
- image.width = 50; image.height = 50; image.style.strokeColor = 'none';
- image.source = obj.data.imageUrl;
-
+
+ if(obj['properties']['data']['id'] == 'parent'){
+ image.id = obj.id + '_pic';
+ image.width = 250; image.height = image.width/2; image.style.strokeColor = 'none';
+ image.source = obj.data.imageUrl;
+ }
+ else{
+ image.id = obj.id + '_pic';
+ image.width = 75; image.height = 75; image.style.strokeColor = 'none';
+ image.source = obj.data.imageUrl;
+ }
+
// create the stack panel to append the text elements.
var innerStack = new ej.diagrams.StackPanel();
innerStack.style.strokeColor = 'none';
@@ -164,7 +172,7 @@ function setNodeTemplate(obj, diagram) {
// create the text element to map the name data from the data source
var text = new ej.diagrams.TextElement();
text.style.bold = true;
- text.fontSize = 16;
+ text.fontSize = 20;
text.id = obj.id + '_name';
text.content = obj.data.name;
@@ -178,6 +186,7 @@ function setNodeTemplate(obj, diagram) {
// append the image and inner stack elements
content.children = [image, innerStack];
+
return content;
}