diff --git a/web/app/models/HTML.php b/web/app/models/HTML.php
index 6fbb6b3..537a8e0 100644
--- a/web/app/models/HTML.php
+++ b/web/app/models/HTML.php
@@ -437,6 +437,7 @@ class HTML {
$extra_allowed_html = [
'span' => ['data-realname' => 'Text', 'data-uoj-username' => 'Number'],
+ 'img' => ['width' => 'Text'],
];
foreach ($extra_allowed_html as $element => $attributes) {