сам отвечу на свой вопрос (покошу под идиота, сори за флуд)
итак берем Very Simple Image Gallery
открываем фаил verysimpleimagegallery.php
ищем и коментируем этот код (отключаем основную картинку)
| Код: |
if($images[$a]['filename']==$images[$aktimg]['filename']) {
$html2 .= "\n<div class='vsig_top vsig_top".$identifier."'>";
if($_link_use_&&isset($$vsiglinks)){ //links are activated and set
$html2 .= "\n<a href='".$cur_link[0]."' title='".$cur_link[1]."' target='".$cur_link[2]."'>";
}
$html2 .= "\n<img id='topimg".$identifier."' src='".$cur_webpath."' title='".$cur_alt."' alt='".$cur_alt."'/>";
if($_link_use_&&isset($$vsiglinks)){ //links are activated and set
$html2 .= "\n</a>";
}
if($_cap_show_&&isset($$captions)){ //we have to show captions
$html2 .= "\n<div class='".(($_cap_pos_)?'inside':'outside')."' style='width:".$_im_area_."px;'>";
if($cur_cap_set){ //captions (specific or default) are set for this image
$cur_cap[1] = preg_replace('/[\$]/', '$', $cur_cap[1]);//prevent the $ from getting executed as a variable;
$html2 .= "<span>".$cur_cap[0]."</span><span>".$cur_cap[1]."</span>";
}
$html2 .= "\n</div>".(($_cap_pos_)?"":"<br class='vsig_clr' />");
}
$html2 .= "\n</div>\n";
}
|
затем чуть ниже находим цикл
| Код: |
if(!$_sets_use_||($a>=($_sets_use_*$_sets_current_-$_sets_use_)&&$a<=($_sets_use_*$_sets_current_-1)&&$_sets_use_>=2)){
|
и меняем его внутренности на
| Код: |
$html3 .= '<div id="thbvsig_'.$identifier.'_'.$thumbs_in_set.'" class="vsig_cont vsig_cont'.$identifier.'"><div class="vsig_thumb">';
$html3 .= "\n<a href='".$cur_link[0]."' title='".$cur_link[1]."' target='".$cur_link[2]."'>";
$html3 .= '<img src="'.$cur_thumb_webpath.'" alt="'.$cur_alt.'"/>';
$html3 .= "</a></div></div>\n";
//
$thumbs_in_set++;
|
и вуаля - достигаем желаемого результата
- изображения мозайкой
- линки задаются в артикле
-настройки плагина (размер картинок и пр.) работают.
всем спасибо!