Location: PHPKode > projects > photolibrary > popup.test.php
<?PHP
/*
   [Start: Program Information Header]

    Name    : Photolibrary: Test sharpness
    Purpose : Test image to demonstrate sharpness and compression settings
    Syntax  :

   [End: Program Information Header]

   [Start: Author Information Header]

    Name    : James D. Forrester
    E-mail  : hide@address.com

    Name    : Ed Sanders
    E-mail  : hide@address.com

   [End: Author Information Header]
*/

require('include.initialise.php');

$no_menu = true;
$page_title = 'Sharpness';
$body_attributes = 'style="margin: 10px;"';
include('include.menu.php');

$s = getInt('s', $settings['thumb_sharpness']);
$c = getInt('c', $settings['JPEG_compression']);

format_html('<form><div style="text-align: center;"><img src="image.test.php?sharpness='.$s.'&compression='.$c.'" /><br />');
format_html('<input name="'.(isset($_GET['s']) ? 's' : 'c').'" size="5" value="'.(isset($_GET['s']) ? $s : $c).'" /><input type="submit" value="test" /></div></form>');

include('include.footer.php');
Return current item: photolibrary