added photos liked function