I'm looking at being able to have a image detect in a global middleware
on Laravel
.
My goal is to make the middleware
, detect if there is currently an image being uploaded, and then detect its size and manipulate it.
Is this possible?
I've inherited a project, and need to manipulate every global image upload
, but there are far too many individual scripts to change them all separately, I need some sort of way to change them all globally.
I'm open to suggestions!