Add rotate and compress (#7)

* Add files via upload

* Update build.gradle

* Update general.css
This commit is contained in:
Anthony Stirling
2023-01-29 17:06:53 +00:00
committed by GitHub
parent b56e5a0e05
commit cd4bd2a796
15 changed files with 496 additions and 106 deletions
@@ -9,6 +9,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
@@ -22,7 +23,8 @@ public class OverlayImageController {
private static final Logger logger = LoggerFactory.getLogger(OverlayImageController.class);
@GetMapping("/add-image")
public String overlayImage() {
public String overlayImage(Model model) {
model.addAttribute("currentPage", "add-image");
return "add-image";
}