From 065c8bbb637954c47259e312ef87667e8d281497 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 19 Apr 2017 00:29:19 -0400 Subject: Add image cropping logic User-supplied head images will need to be square in their dimensions, so that bootstrap displays them correctly. This function will crop image files after they are uploaded to the server. --- app/class/image.php | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 app/class/image.php (limited to 'app/class/image.php') diff --git a/app/class/image.php b/app/class/image.php new file mode 100644 index 0000000..6b73cae --- /dev/null +++ b/app/class/image.php @@ -0,0 +1,70 @@ + -- cgit v1.2.3