summaryrefslogtreecommitdiff
path: root/app/media
diff options
context:
space:
mode:
Diffstat (limited to 'app/media')
-rw-r--r--app/media/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/media/views.py b/app/media/views.py
index 29d3eca..04ac11c 100644
--- a/app/media/views.py
+++ b/app/media/views.py
@@ -103,7 +103,7 @@ def photo_preview_json(request, pk):
def thumb_preview_json(request, pk):
p = LuxImage.objects.get(pk=pk)
data = {}
- data['url'] = p.get_image_url_by_size('admin_insert')
+ data['url'] = p.get_image_url_by_size('tn')
data = json.dumps(data)
return HttpResponse(data)