One of the world's largest and smelliest flowers is to blossom for the second time in Scotland.

The stinky plant, which is being carefully cared for at the Royal Botanic Garden in Edinburgh (RBGE), is hopefully set to flower for two to three days once it opens this week.

The giant Amorphophallus titanum, or Titan Arum as named by Sir David Attenborough, rarely flowers in the wild, let alone in captivity.

It is also known as the "corpse flower" because it gives off a stench of rotting flesh to attract insects and has been nicknamed New Reekie by staff.

The initial bloom is expected to occur at night and give off the strongest smell when it first opens.

The garden has had the plant since 2003 but it only flowered for the first time in 2015.

After its first seven years of growing, in August 2010 the corm weighed in at an impressive 153.9kg, setting a new world record.

It took five staff to hold it and they had to borrow scales from Edinburgh Zoo to weigh it.

In July 2011, the titan arum revealed itself as a leaf, growing at an incredible rate of 10cm per day, and reaching a final height of 4.2m after 109 days.

The glasshouse was barely tall enough to fit it in and the leaf squeezed itself up against the roof.

The flower is indigenous to Sumatra's rainforests in Indonesia.

It is currently kept in the greenhouse at the botanic gardens at a temperature of 20C to 25C.

When the plant heats up, the temperature will rise by about another 10C.

RBGE officials plan to open the attraction until late in the evening to let the maximum number of visitors experience the stench at its worst before it subsides.