ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ // // available at http://phpthumb.sourceforge.net /// ////////////////////////////////////////////////////////////// // // // phpThumb.demo.showpic.php // // James Heinrich // // 23 Feb 2004 // // // // This code is useful for popup pictures (e.g. thumbnails // // you want to show larger, such as a larger version of a // // product photo for example) but you don't know the image // // dimensions before popping up. This script displays the // // image with no window border, and resizes the window to // // the size it needs to be (usually better to spawn it // // large (600x400 for example) and let it auto-resize it // // smaller), and if the image is larger than 90% of the // // current screen area the window respawns itself with // // scrollbars. // // // // Usage: // // window.open('showpic.php?src=big.jpg&title=Big+picture', // // 'popupwindowname', // // 'width=600,height=400,menubar=no,toolbar=no') // // // // See demo linked from http://phpthumb.sourceforge.net /// ////////////////////////////////////////////////////////////// die('For security reasons, this demo is disabled by default. Please comment out line '.__LINE__.' in '.basename(__FILE__)); $phpThumbLocation = '../phpThumb.php?'; echo ''; echo ''; if (isset($_GET['title'])) { echo ''.htmlentities($_GET['title']).''; unset($_GET['title']); } else { echo ''.htmlentities('phpThumb :: popup window resizing demo').''; } ?> $value) { if (is_array($value)) { foreach ($value as $key2 => $value2) { $additionalparameters[] = $key.'[]='.SafeStripSlashes($value2); } } else { $additionalparameters[] = $key.'='.SafeStripSlashes($value); } } $imagesrc = $phpThumbLocation.implode('&', $additionalparameters); echo ''; ?>
'; echo 'document.writeln(\'\');'; echo ''; } else { echo '
';
	echo 'Usage:

'.$_SERVER['PHP_SELF'].'?src=filename&title=Picture+Title'; echo '
'; } ?>