$image_controller->brightnessImage(false, $path); } else { if ($action == "moreluminosity") { $image_controller->brightnessImage(true, $path); } else { if ($action == "sepia") { $image_controller->sepiaImage($path); } else { if ($action == "gray") { $image_controller->grayImage($path); } else { if ($action == "blur") { $image_controller->gaussianImage($path); } else { if ($action == "noise") { $image_controller->countourImage($path); } } } } } } } } } echo '<a href="layout.php?selected=UserImage" class=""><button type="submit" class="btn btn-danger btn-md" name="action" value="lesscontrast"> <span class="glyphicon glyphicon-th" aria-hidden="true"></span> Back to gallery </button></a>'; echo '<div class="row"><form method="post" id="form_force" action="layout.php?selected=Editor"> <div class="panel panel-primary"> <div class="panel-heading">