Whale watchers off Sydney's northern beaches missed a humpback's spectacular show because they were looking in another direction as the huge animal launched itself out of the water. Whales migrate north up to Australia's eastern coast between April and August.
South African riot police stand guard on a bridge as protesters block a highway in Meyerton to demand better public services ahead of municipal elections on July 21.
Republican presidential nominee Donald Trump speaks live via satellite from Trump Tower in New York during the second session of the Republican National Convention in Cleveland on July 19.
A villager catches a chicken thrown by Hindu worshippers in the volcano's crater as an offering during the Yadnya Kasada Festival on Mount Bromo. The Kasada ceremony is a way for Tengger Hindus to express their gratitude to the gods for good fortune and a good harvest. Local villagers come to collect what they can.
A woman carrying a bundle on her head waits in line to cross the border into Colombia through the Simon Bolivar Bridge in San Antonio del Tachira, Venezuela on July 17. Tens of thousands of Venezuelans crossed the border into Colombia on Sunday to hunt for food and medicine that are in short supply at home.
Students cool down in an inflatable pool in Utrecht, Netherlands on July 19. The region experienced near 90-degree temperatures.
Cracked glass surrounds a bullet hole on gym window near the scene where three police officers were shot and killed in Baton Rouge, Louisiana on July 18.
People protesting an attempted coup ride a tank in Istanbul on July 16.
Turkish forces attempting to seize commandeered tanks, helicopters and military jets. They shelled the Turkish parliament and attempted to seize control of Istanbul — the country's largest city — and capital, Ankara.
President Tayyip Erdogan quickly called on the public to flood the streets and fight the coup plotters. The Turkish public responded overwhelmingly, with thousands taking on soldiers and tanks across the country. Between 200 and 300 people died in the violence.
Soldiers involved in the failed coup attempt to surrender on Bosphorus Bridge on July 16 in Istanbul. Before the dust from the coup attempt had even settled, Turkish President Recep Tayyip Erdogan was pledging to purge the armed forces.
"They will pay a heavy price for this," he said. "This uprising is a gift from God to us because this will be a reason to cleanse our army."
Children stand outside a house connected to an electric grid in Bugara, Congo, on July 17. The vast majority of the Congolese population doesn't have access to electricity and the small portion of the inhabitants that are connected to the grid are suffering frequent and long outages.
A Palestinian boy bids farewell to 12-year-old Mohiyeh al-Tabakhi during his funeral in the West Bank on July 20. Tabakhi was killed the day before during a clash with Israeli troops on the outskirts of Arab East Jerusalem, the Palestinian health ministry said.
Tabakhi died in a Palestinian hospital of a wound inflicted by a projectile that struck his chest and caused heart failure, a ministry spokesman said.
A woman walks with an umbrella during heavy rain in Beijing on July 20.
A man cries during the funeral ceremony of Sehidmiz Murat Inci, victim of the coup attempt, at Kocatepe Mosque in Ankara on July 18. Support from the highest echelons in the army helped keep President Recep Tayyip Erdogan in power after the failed coup. Turkey has detained 103 generals and admirals as well as more than 2,800 soldiers accused of supporting the attempted power grab.
Thousands gather on the Promenade des Anglais boulevard to observe a minute of silence on July 18 in tribute to the 84 victims of the truck attack in Nice, France.
Albert Pujols of the Los Angeles Angels is hit in the head by a pitch from Tony Barnette (not pictured) of the Texas Rangers during the seventh inning at Angel Stadium of Anaheim on July 19.
The Week in Pictures: July 8 - 15