I am storing avatars and creating thumbnails with the gm lib, I use ".identify()" to make sure that the file uploaded is one of type JPEG or PNG. How do I abort other chained functions in case the file type does not match the types that I have white-listed? Thanks
I am storing avatars and creating thumbnails with the gm lib, I use ".identify()" to make sure that the file uploaded is one of type JPEG or PNG. How do I abort other chained functions in case the file type does not match the types that I have white-listed? Thanks