Satisfy lint
Fix #1: Limit photos to the number received

From @M4rtine