implement the new anchor target behaviour

This commit is contained in:
Mario Vavti 2015-10-22 12:09:19 +02:00
parent 735f9c7a45
commit 5395b173aa

View File

@ -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(