Adds conditionals for avatar and target photo