Just considering a 'Lightbox' Type OPTION for guestbook image upload (click to enlarge)
i am guessing I should post this directly to feature requests....
just thinking out loud
Thanks to Oli for all his great work!
UPDATE: using a slimbox/mootools equivalent (jQuery) - see next post
'Lightbox' Type OPTION for guestbook image uploads
'Lightbox' Type OPTION for guestbook image uploads
Last edited by jsw_nz on Sun 26. Aug 2007, 05:49, edited 3 times in total.
Was able to enable this function (using a jQuery equivalent to slimbox/mootools) ....
Simple configuration and js includes discussed in this thread:
http://www.phpwcms.de/forum/viewtopic.php?t=15488
slight modifications to
include/inc_front/cnt18.article.inc.php
line 834 (approx) of
cnt18.article.inc.php
The directory info is hard coded at this stage - needs a wee bit of tweaking, but nonetheless works. me luvs jQuery
cheers
Simple configuration and js includes discussed in this thread:
http://www.phpwcms.de/forum/viewtopic.php?t=15488
slight modifications to
include/inc_front/cnt18.article.inc.php
line 834 (approx) of
cnt18.article.inc.php
Code: Select all
if($zoominfo != false) {
/* FORMER CODE
$popup_img = 'image_zoom.php?'.getClickZoomImageParameter($zoominfo[0].'?'.$zoominfo[3]);
$guestbook['entry_image'] = '<a href="'.$popup_img.'" onclick="window.open(\''.$popup_img.
"','previewpic','width=".$zoominfo[1].",height=".$zoominfo[2]."');return false;".
'">'.$guestbook['entry_image'].'</a>';
*/
// **NEW CODE
$guestbook['entry_image'] = '<a href="content/images/'.$zoominfo[0].'" rel="imagebox"><img src="content/images/'.$thumb_image[0].'"></A>';
}
The directory info is hard coded at this stage - needs a wee bit of tweaking, but nonetheless works. me luvs jQuery
cheers