photo delete and ranking photo