Do not create Photo objects for non-photo files when uploading albums
Closes #511 (closed)
Previous behaviour
Steps to reproduce:
- Go to photos admin and create a new Album
- Upload a zip which contains non-photo files.
- The admin panels warns that the non-photo file was ignored, yet a Photo object was created for it.
New behaviour
Steps to validate that it works:
- Go to photos admin and create a new Album
- Upload a zip which contains non-photo files.
- The admin panels warns that the non-photo file was ignored, and it was ignored.