Moved loading validation for first photo to ruby