diff --git a/structr-ui/src/main/java/org/structr/web/entity/Widget.java b/structr-ui/src/main/java/org/structr/web/entity/Widget.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/java/org/structr/web/entity/Widget.java
+++ b/structr-ui/src/main/java/org/structr/web/entity/Widget.java
@@ -61,7 +61,7 @@ public interface Widget extends NodeInterface {
 		type.addStringProperty("treePath",      PropertyView.Ui, PropertyView.Public);
 		type.addBooleanProperty("isWidget",     PropertyView.Ui, PropertyView.Public).setReadOnly(true).addTransformer(ConstantBooleanTrue.class.getName());
 
-		type.relate(image, "PICTURE_OF", Cardinality.OneToMany, "widget", "pictures");
+		image.relate(type, "PICTURE_OF", Cardinality.ManyToOne, "pictures", "widget");
 
 		// view configuration
 		type.addViewProperty(PropertyView.Public, "name");
Fix: Change direction of PICTURE_OF relation between Widget and Image class.