]> git.mxchange.org Git - friendica.git/commitdiff
The attached image has now a class
authorMichael <heluecht@pirati.ca>
Sat, 15 Jul 2017 04:02:12 +0000 (04:02 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 15 Jul 2017 04:02:12 +0000 (04:02 +0000)
include/text.php

index 43cdad8ba612adee2e4a6e03ba6fafde3a2d13c8..57881e9293ba20d078150a8c12527a0afd9de7a1 100644 (file)
@@ -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>';
                                        }