From b49a36f9499c561399d7d4af447f4727e0bf5074 Mon Sep 17 00:00:00 2001 From: Michael <heluecht@pirati.ca> Date: Sat, 15 Jul 2017 04:02:12 +0000 Subject: [PATCH] The attached image has now a class --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index 43cdad8ba6..57881e9293 100644 --- a/include/text.php +++ b/include/text.php @@ -1424,7 +1424,7 @@ function prepare_body(&$item, $attach = false, $preview = false) { $title .= ' ' . $mtch[2] . ' ' . t('bytes'); if (($filetype == 'image') AND ($item['network'] == NETWORK_OSTATUS)) { - $icon = '<img src="'.$the_url.'" alt="" title="'.$title.'">'; + $icon = '<img class="attached" src="'.$the_url.'" alt="" title="'.$title.'">'; } else { $icon = '<div class="attachtype icon s22 type-' . $filetype . ' subtype-' . $filesubtype . '"></div>'; }