diff --git a/app/views/admin/communication/blocks/templates/image/_snippet.html.erb b/app/views/admin/communication/blocks/templates/image/_snippet.html.erb
index 4394cb02c55ca436ff7ff0c33f20266a0b504d1b..67a949f5d6f57debf62b1fcc0d6ff56b8e41dd92 100644
--- a/app/views/admin/communication/blocks/templates/image/_snippet.html.erb
+++ b/app/views/admin/communication/blocks/templates/image/_snippet.html.erb
@@ -1,6 +1,6 @@
-<% 
-blob = block.template.image_component.blob 
-object = blob.variable? ? blob.variant(resize: 'x180')
-                        : blob
+<%
+blob = block.template.image_component.blob
+object = blob&.variable?  ? blob.variant(resize: 'x180')
+                          : blob
 %>
-<%= image_tag object, height: 90, alt: '', class: 'me-2' if blob %>
+<%= image_tag object, height: 90, alt: '', class: 'me-2' if object %>