From 5211fd3619d7d905654c5f2d6e748103def3649c Mon Sep 17 00:00:00 2001 From: Paige Williams Date: Tue, 9 Jun 2026 13:33:05 -0700 Subject: [PATCH] set max height and width for thumbnail images --- .../templates/admin_resumable/admin_file_input.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/django_resumable_async_upload/templates/admin_resumable/admin_file_input.html b/src/django_resumable_async_upload/templates/admin_resumable/admin_file_input.html index c01806b..aa8fd4e 100644 --- a/src/django_resumable_async_upload/templates/admin_resumable/admin_file_input.html +++ b/src/django_resumable_async_upload/templates/admin_resumable/admin_file_input.html @@ -209,7 +209,7 @@ var fileType = file.file.type; if (fileType && fileType.startsWith('image/') && {{ show_thumb|yesno:"true,false" }} && {% if MEDIA_URL %}true{% else %}false{% endif %} ) { var imageUrl = '{{ MEDIA_URL|escapejs }}' + message; - var imgHtml = ''; + var imgHtml = ''; $('#' + fileId + '_preview').html(imgHtml); } }