Validating Image Uploads in CakePHP
Monday, June 16th, 2008Following on from my article on CakePHP - Uploaded File Validation in Models, today's snippet will show you how to use Cake's validation rules to reject invalid images, or images which do not conform to a specified mime-type. This code relies on the fact that you have LibGD installed ...