The attached image has now a class
This commit is contained in:
parent
181947f774
commit
b49a36f949
|
@ -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>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user