从数组中打开target =“_ blank”中的链接

I am trying to make these links open in new tabs. I realize there are similar answers already here but i couldn't find one specific to $imageLinks = then the link.

Do i use target="_blank"and if so where do i place it? Many thanks!!

Looked through the other examples of similiar problems.

$FilesNotAllowed = array('.', '..', 'index.htm', '.DS_Store',  'Thumbs.db');
$rep = 'images/slideshow/'.Lang::getLang().'/';
if(!is_dir($rep))
{
    $rep = 'images/slideshow/gb/';
} else {
    $ImageLinks = array();

    $ImageLinks['image1.jpg'] = '//www.google.com/';
    $ImageLinks['image2.jpg'] = '//www.google.com/';

Expect imagelinks to open in new tab