<?php
$array=array("Imagens/teste/k7 sunrace 1.jpg","Imagens/teste/k7 sunrace.jpg","Imagens/teste/k7.jpg","Imagens/teste/k7 sunrace 2.jpg");
$id=1;
foreach($array as $valores){
echo '<a href="#" id="'.$id.'"><img src="Admin/Pagina/Produtos/uploads/'.$valores.'"/></a>';
echo "\n";
$id++;
}
PD9waHAKCiRhcnJheT1hcnJheSgiSW1hZ2Vucy90ZXN0ZS9rNyBzdW5yYWNlIDEuanBnIiwiSW1hZ2Vucy90ZXN0ZS9rNyBzdW5yYWNlLmpwZyIsIkltYWdlbnMvdGVzdGUvazcuanBnIiwiSW1hZ2Vucy90ZXN0ZS9rNyBzdW5yYWNlIDIuanBnIik7CgokaWQ9MTsKZm9yZWFjaCgkYXJyYXkgYXMgJHZhbG9yZXMpewogICAgZWNobyAnPGEgaHJlZj0iIyIgaWQ9IicuJGlkLiciPjxpbWcgc3JjPSJBZG1pbi9QYWdpbmEvUHJvZHV0b3MvdXBsb2Fkcy8nLiR2YWxvcmVzLiciLz48L2E+JzsKICAgIGVjaG8gIlxuIjsKICAgICRpZCsrOwp9