An under-threat city farm has secured its future by raising the £100,000 it needed to survive.

Gorgie City Farm in Edinburgh met its target six weeks after launching its campaign for financial support from the public.

Despite the closure of its loss-making cafe and Edinburgh City Council recently awarding it a three-year grant, financial support was urgently needed to preserve the attraction on Gorgie Road.

Staff and volunteers have welcomed the news after it was confirmed the farm, which has operated in the city for 38 years, had met its target.

General manager Josiah Lockhart said on Friday: "It's completely overwhelming. In six weeks we've had £100,000 come in through public support.

"That is something that, by far, we didn't expect. We expected this to go months and months, but to have achieved it in six weeks shows how much the people of Edinburgh have come together to make this happen.

"That money basically fills a giant hole in our budget this year due to not being able to achieve some of the funding that we needed in the past year.

"It buys us time to put in place a really robust financial and sustainable plan to take us into the future and keep the farm open."

The charity runs programmes for young and vulnerable people across the city, while it works with more than 100 volunteers every week through training, work experience, social opportunities and personal support.