A selection of the week’s best photos from the African continent and beyond:
Members of the Rendille community in Kenya gather on Saturday… (GERALD ANDERSON / GETTY IMAGES)
The cultural festival was held in the town of Loglogo, Marsabit province. (GERALD ANDERSON/GETTY IMAGES)
Egyptian entrepreneur Ibrahim Abougendy is reflected in a mirror made from recycled car tires at his shop in Cairo on Friday. (AMR ABDALLAH DALSH/REUTERS)
A girl flies the flag of the Democratic Republic of Congo (R) during the Notting Hill Carnival in London, U.K., on Sunday. (HOLLIE ADAMS/REUTERS)
Anime, manga and cosplay enthusiasts dress up as their favourite characters during a gathering in Harare, Zimbabwe, on Sunday. (PHILIMON BULAWAYO/REUTERS)
A proud Paralympic athlete wears a prosthesis in the colours of the Mauritian flag during the opening ceremony of the Games in Paris on Wednesday. (FRANCK FIFE / AFP)
On Friday, model Phelix Owiny attends the celebration of World Vitiligo Day, organized by the Royal Patches Foundation in the Kenyan capital Nairobi. (MONICAH MWANGI/REUTERS)
In Libya, where summer temperatures can reach 50 degrees Celsius, these men wash two horses in the sea on Tuesday. (MAHMUD TURKIA / AFP)
After facing xenophobic insults and withdrawing from the Miss South Africa pageant, Chidimma Adetshina will compete in the Miss Universe Nigeria boot camp in Lagos on Saturday. (FAWAZ OYEDEJI / AFP)
The same day, supporters of the main opposition party NDC are present during the campaign in Ghana at the launch of their manifesto. (NIPAH DENNIS / AFP)
Musicians from the South African Defence Forces and dancers in leopard skin perform at the International Military Music Festival in Moscow, Russia, on Friday. (YURI KOCHETKOV/EPA)
Actress KB Motsilanyane (C) performs at the Soapie Awards in the South African city of Pretoria on Saturday. (OUPA BOPAPE / GETTY IMAGES)
On Tuesday, dozens of migrants from West Africa reached Spain’s Canary Islands after surviving one of the world’s most dangerous migration routes, in the Atlantic Ocean. (ANTONIA SEMPERE / AFP)
Ugandan police arrest an environmental activist during a protest in Kampala against the East African Crude Oil Pipeline Project on Monday. (BADRU KATUMBA / AFP)
Residents build makeshift dikes on Tuesday after floodwaters swept away homes in Messawi, near the town of Meroe in Sudan’s northern state… (AFP)
This man is helped over a wall after flooding in South Tokar, in Sudan’s Red Sea state… (EL TAYEB SIDDIG/REUTERS)
While these men seek shelter from the scorching sun in a cement pipe nearby. (EL TAYEB SIDDIG / REUTERS)
Sea foam rises in South Africa on Wednesday as a cold front hits Cape Town. (ESA ALEXANDER/REUTERS)
From the BBC in Africa this week:
(Getty Images/BBC)
Go to BBCAfrica.com for more news from the African continent.
Follow us on Twitter @BBCAfrica on Facebook on BBC Africa or on Instagram at bbcafrica
BBC Africa Podcasts