Check for length on images