diff --git a/events/models/events.py b/events/models/events.py
index 0d5d218..e23895d 100644
--- a/events/models/events.py
+++ b/events/models/events.py
@@ -345,6 +345,21 @@ class CommonEvent(models.Model):
schema = 'https'
return "%s://%s%s" % (schema, site.domain, self.get_absolute_url())
+ @property
+ def full_img_url(self):
+ if self.organization.tile_img is not None and self.organization.tile_img .name is not None:
+ if self.organization.tile_img .url.startswith('http'):
+ return self.organization.tile_img .url
+ else:
+ site = self.organization.site
+ if settings.DEBUG:
+ schema = 'http'
+ else:
+ schema = 'https'
+ return "%s://%s%s" % (schema, site.domain, self.organization.tile_img .url)
+ else:
+ return self.category.img_url
+
def location(self):
if self.city:
return self.city
diff --git a/get_together/templates/get_together/orgs/show_common_event.html b/get_together/templates/get_together/orgs/show_common_event.html
index f159eec..c49f990 100644
--- a/get_together/templates/get_together/orgs/show_common_event.html
+++ b/get_together/templates/get_together/orgs/show_common_event.html
@@ -8,7 +8,7 @@
-
+
{% endblock %}
{% block styles %}