Added ratings functionality to pictures