The unseen photo was taken during their visit to India to promote their 2017 action movie 'xXx: Return of Xander Cage'
The world number one retired against Marin Cilic after an upper right leg problem began troubling him in the fourth set on Rod Laver Arena, with the Spaniard wincing in pain and limping as he struggled to continue.
His 3-6, 6-3, 6-7 (5/7), 6-2, 2-0 exit set up a last-four clash for the former US Open champion against Britain's Edmund, who stunned third seed Grigor Dimitrov 6-4, 3-6, 6-3, 6-4.
Mertens, who is yet to drop a set, was equally convincing in blasting past world number four Elina Svitolina 6-4, 6-0 to become the first Belgian to make the semis since Kim Clijsters in 2012.
She will play second seeded Dane Caroline Wozniacki on Thursday for a place in Saturday's final.
Wozniacki withstood a fightback from Spain's unseeded Carla Suarez Navarro to stutter into the semi-finals 6-0, 6-7 (3/7), 6-2.
Little separated Nadal and big-hitting Cilic until the injury struck, as they traded ferocious groundstrokes in an intense battle.
But the Spaniard, who was beaten in last year's final by Roger Federer, called the physio at 1-4 in the fourth set and again at the changeover when two sets apiece and the writing was on the wall.
"It was an unbelievable performance from both us," said Croat Cilic, the sixth seed. "It is really unfortunate for Rafa to finish this way."
Nadal's retirement follows the departure on Monday of Novak Djokovic, with his immediate playing future uncertain after an elbow injury flared. He also appeared to have a hip problem.
There were no such troubles for Edmund against Dimitrov, as he became only the fourth British man to reach the Australian Open semifinals in the post-1968 Open Era.
"It's an amazing feeling. I'm very happy," said the overwhelmed 23-year-old, ranked 49.
"It was a hard match and I'm really trying to enjoy the moment. It was my first match on Rod Laver Arena and it's very special."
He is the only British man in the draw after Andy Murray's injury withdrawal before the tournament, raising the prospect that it will be him, rather than the Scot, who breaks through to win in Australia.
Murray has been a five-time finalist, but lost them all.
World number 37 Mertens is on a hot streak of form, unbeaten in 10 matches after winning in Hobart this month.
She was too physical for Svitolina as she stormed into the semis, incredibly on her Australian Open debut. "It's amazing. I mean, it was not expected, especially today. Really tough match," said the Belgian world number 37.
"But I was in the zone today. If you believe in yourself, then anything can happen. But of course semis is "Wow."
Svitolina blamed a hip injury for her shock ousting as she again failed to get to the last four of a Grand Slam on her 22nd attempt.
"It was my hip. I started to feel it actually after the final in Brisbane," she said, referring to the warm-up tournament she won.
"It's been there all the time. I had pain all the time. But with painkillers, it was fine."
Romania's Halep plays her quarterfinal against sixth seed Karolina Pliskova on Wednesday.
The unseen photo was taken during their visit to India to promote their 2017 action movie 'xXx: Return of Xander Cage'
From exploring the Louvre Museum in Abu Dhabi to Easter brunches, there are several things to do in the UAE this weekend
The film is a tense thriller about a group of journalists documenting societal collapse
One song has a reference to the groundbreaking country performer who became the first Black woman to play the 'Grand Ole Opry'
The Oscar-nominated actress is no stranger to big-budget films
In the film, Tabu, Kareena, and Kriti are essaying the roles of daring and mischievous air hostesses
Having effortlessly transitioned into acting, Fouzia's debut film swiftly captured global acclaim, earning accolades at the prestigious Cannes Film Festival
Parag, who reached his 50 off 34 balls, cracked 25 runs with three fours and two sixes off the final over bowled by star South Africa paceman Anrich Nortje