The attached image has now a class
This commit is contained in:
parent
181947f774
commit
b49a36f949
1 changed files with 1 additions and 1 deletions
|
@ -1424,7 +1424,7 @@ function prepare_body(&$item, $attach = false, $preview = false) {
|
||||||
$title .= ' ' . $mtch[2] . ' ' . t('bytes');
|
$title .= ' ' . $mtch[2] . ' ' . t('bytes');
|
||||||
|
|
||||||
if (($filetype == 'image') AND ($item['network'] == NETWORK_OSTATUS)) {
|
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 {
|
} else {
|
||||||
$icon = '<div class="attachtype icon s22 type-' . $filetype . ' subtype-' . $filesubtype . '"></div>';
|
$icon = '<div class="attachtype icon s22 type-' . $filetype . ' subtype-' . $filesubtype . '"></div>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue