This commit is contained in:
Ross
2021-01-20 23:54:03 +00:00
parent daa27d68f9
commit c6f8d9f261
+1 -1
View File
@@ -275,7 +275,7 @@ class RapidImage(models.Model):
def image_tag(self):
if self.image:
return mark_safe(
'<img src="{}{}" class="admin-rapid-image" /><span class="admin-rapid-image-info">Click and hold to zoom<span>'
'<img src="{}media{}" class="admin-rapid-image" /><span class="admin-rapid-image-info">Click and hold to zoom<span>'
.format(settings.MEDIA_URL, self.image))
else:
return ""