WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
[THUMBS](click here for more pics)<table border="0" ................>
.mod_bakery_item_thumb_fff { border: none; display:none;}
// Check if the thumb and image directories exist if (is_dir($thumb_dir) && is_dir($img_dir)) {
$ix = 0;
// Make array $thumb_arr[] = $prepend.$thumb_url.$thumb_file.$thumb_append; $image_arr[] = $prepend.$img_url.$image_file.$img_append;
$ix++;
if ($setting_lightbox2 == "detail" || $setting_lightbox2 == "all") { $prepend = "<a href='".$img_url.$image_file."' rel='lightbox[image_".ITEM_ID."]' title='".$img_title."'><img src='"; $thumb_append = "' alt='".$img_title."' title='".$img_title."' class='mod_bakery_item_thumb_f' /></a>"; $img_append = "' alt='".$img_title."' title='".$img_title."' class='mod_bakery_item_img_f' /></a>"; // ...else add thumb/image only }
if ($setting_lightbox2 == "detail" || $setting_lightbox2 == "all") {if ($ix == 0){ $prepend = "<a href='".$img_url.$image_file."' rel='lightbox[image_".ITEM_ID."]' title='".$img_title."'><img src='"; $thumb_append = "' alt='".$img_title."' title='".$img_title."' class='mod_bakery_item_thumb_f' /></a>"; $img_append = "' alt='".$img_title."' title='".$img_title."' class='mod_bakery_item_img_f' /></a>";} else{ $prepend = "<a href='".$img_url.$image_file."' rel='lightbox[image_".ITEM_ID."]' title='".$img_title."'><img src='"; $thumb_append = "' alt='".$img_title."' title='".$img_title."' class='mod_bakery_item_thumb_fff' /></a>"; $img_append = "' alt='".$img_title."' title='".$img_title."' class='mod_bakery_item_img_f' /></a>"; } // ...else add thumb/image only