Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wiki advice doesn't seem to work (lottapixels) #1711
says that we can add this:-
however from running it my understanding is that img will be an instance of command builder, which is used for building commands to run against the image. which makes sense, but it does mean .dimentions is unavailable resulting in the following when used:-
I, [2015-08-01T18:26:52.829111 #22384] INFO -- : Completed 500 Internal Server Error in 357ms (ActiveRecord: 10.9ms)
is there a working method for achieving the above (preventing images above a certain dimention being processed at all - making sure they don't murder the memory on the server when processed)?