Modified HTML Layout and Photos tab functionality