WebsiteBaker 2.13.9 R24 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
Ruud, did you have see the german thread about the "FancyBox"/"Fancy Image"?
Quote from: Stefek on October 02, 2008, 03:30:20 PMRuud, did you have see the german thread about the "FancyBox"/"Fancy Image"?Yep, seen it.I would have to have a better look at the original FancyBox, but it might be doable.Select one of 3 zoom engines. Ruud
This looks great:http://www.telmakelaars.nl/pages/catalog/nietap2.php?cat_id=1&number=0
if($num_pics > 0) { while($element = $query_pics->fetchRow()) { $pic= stripslashes($element['pic']); $direction_pic=WB_URL.MEDIA_DIRECTORY."/cat_pics/".$pic; $thumbnail_pic=WB_URL."/modules/imageflow/reflect.php?img=/cat_pics/".$pic."&height=1&jpeg=70&newwidth=100&cache=1"; $smarty->append('pics',array( 'pic'=>$element['pic'], 'thumbnail_pic'=>$thumbnail_pic, 'direction_pic'=>$direction_pic )); } }
<a href="{$pics[sec2].direction_pic}" class="highslide" onclick="return hs.expand(this)"><img src="{$pics[sec2].thumbnail_pic}" alt="Highslide JS" title="Click to enlarge" width="100" /></a>
<?php if ($this->_tpl_vars['pics'][$this->_sections['sec2']['index']]['pic'] != ""): ?> <a href="<?php echo $this->_tpl_vars['pics'][$this->_sections['sec2']['index']]['direction_pic']; ?>" class="highslide" onClick="return hs.expand(this)"><img src="<?php echo $this->_tpl_vars['pics'][$this->_sections['sec2']['index']]['direction_pic']; ?>" alt="Highslide JS" title="Klik om te vergroten" width="100" /></a> <?php endif; ?>
<?php if ($this->_tpl_vars['pics'][$this->_sections['sec2']['index']]['pic'] != ""): ?> <a href="<?php echo $this->_tpl_vars['pics'][$this->_sections['sec2']['index']]['direction_pic']; ?>" class="highslide" onClick="return hs.expand(this)"><img src="<?php echo $this->_tpl_vars['pics'][$this->_sections['sec2']['index']]['thumbnail_pic']; ?>" alt="Highslide JS" title="Klik om te vergroten" width="100" /></a> <?php endif; ?>