implement the new anchor target behaviour
This commit is contained in:
parent
735f9c7a45
commit
5395b173aa
@ -1379,7 +1379,7 @@ function prepare_body(&$item,$attach = false) {
|
||||
|
||||
if($is_photo) {
|
||||
$object = json_decode($item['object'],true);
|
||||
$photo = '<a href="' . zid(rawurldecode(get_rel_link($object['link'],'alternate'))) . '"><img style="max-width:' . $object['width'] . 'px; width:100%; height:auto;" src="'. zid(rawurldecode($object['id'])) . '"></a>';
|
||||
$photo = '<a href="' . zid(rawurldecode(get_rel_link($object['link'],'alternate'))) . '" target="_newwin"><img style="max-width:' . $object['width'] . 'px; width:100%; height:auto;" src="'. zid(rawurldecode($object['id'])) . '"></a>';
|
||||
}
|
||||
|
||||
$prep_arr = array(
|
||||
|
Reference in New Issue
Block a user