The relationship may have faded long ago, but the intimate images you shared have not. If you’re lucky, your ex deleted them. If you’re not, the photos have sprouted up online.

Victims of such non-consensual posts, often referred to as “revenge porn,” now have some help in preventing their spread: On Wednesday, Facebook announced new artificial intelligence tools designed to keep such content, once flagged, off its site for good.

“It’s wrong, it’s hurtful, and if you report it to us, we will now use AI and image recognition to prevent it from being shared across all of our platforms,” Mark Zuckerberg, the social network’s founder and chief executive, said in a Facebook post.

The tools announced Wednesday are intended to address a uniquely modern and pernicious form of harassment, often but not exclusively aimed at women, that has attracted increasing attention.

In March, for example, a report that active-duty and veteran Marines had used Facebook to share naked and private photos of thousands of women in the Marine Corps prompted a congressional hearing and a US Defence Department investigation.

The company has been sued in the past by victims of revenge pornography who accused it of not doing enough to prevent the spread of their intimate images.

Now, when such content is reported to Facebook, it will be reviewed by a trained member of a community standards team, most likely resulting in the image being removed and the account of the user who posted it being disabled, Antigone Davis, Facebook’s head of global safety, said Wednesday in a post on the site.

Business news: In pictures Show all 13 1 /13 Business news: In pictures Business news: In pictures Flybe collapses Airline Flybe has collapsed. All future flights on the Exeter-based airline have been cancelled – leaving more than 2,300 staff facing an uncertain future, and wrecking the travel plans of hundreds of thousands of passengers. The chief executive, Mark Anderson, said: “Europe’s largest independent regional airline has been unable to overcome significant funding challenges to its business. AFP via Getty Business news: In pictures Future product placement will be 'tailored to individual viewers' Marketing executives say that product placement in films and televison shows on streaming services such as Netflix may be tailored to individuals in future. For instance, if data shows that a viewer is a fan of pepsi, a billboard in the background of a shot would host an advert for pepsi, while for a viewer known to have different tastes it could be for Coca-Cola Paramount Business news: In pictures Corbyn wishes Amazon a happy birthday In a card sent to Amazon CEO Jeff Bezos on the company's 25th birthday, Labour leader Jeremy Corbyn writes: "You owe the British people millions in taxes that pay for the public services that we all rely on. Please pay your fair share" Business news: In pictures No deal, no tariffs The government has announced that it would slash almost all tariffs in the event of a no-deal Brexit. Notable exceptions include cars and meat, which will see tariffs in place to protect British farmers Getty Business news: In pictures Fingerprint payment NatWest is trialling a new bank card that will allow people to touch their hand to the card when paying rather than typing in a PIN number. The card will work by recognising the user's fingerprint NatWest/PA Wire Business news: In pictures Mahabis bust High-end slipper retailer Mahabis has gone into administration. 2 Jan 2019 Mahabis Business news: In pictures Costa Cola Coca-Cola has paid £3.9bn for Costa Coffee. A cafe chain is a new venture for the global soft drinks giant PA Business news: In pictures RIP Payday Loans A funeral procession for payday loans was held in London on September 2. The future of pay day lenders is in doubt after Wonga, Britain's biggest, went into administration on August 30 PA Business news: In pictures Musk irks investors and directors Elon Musk has concluded that Tesla will remain public. Investors and company directors were angry at Musk for tweeting unexpectedly that he was considering taking Tesla private and share prices had taken a tumble in the following weeks Getty Business news: In pictures Jaguar warning Iconic British car maker Jaguar Land Rover warned on July 5, 2018 that a "bad" Brexit deal could jeopardise planned investment of more than $100 billion, upping corporate pressure as the government heads into crucial talks AFP/Getty Business news: In pictures Spotif-IPO Spotify traded publically for the first time on the New York Stock Exchange on Tuesday. However, the company isn't issuing shares, but rather, shares held by Spotify's private investors will be sold AFP/Getty Business news: In pictures French blue passports The deadline to award a contract to make blue British passports after Brexit has been extended by two weeks following a request by bidder De La Rue. The move comes after anger at the announcement British passports would be produced by Franco-Dutch firm Gemalto when De La Rue’s contract ends in July. The British firm said Gemalto was chosen only because it undercut the competition, but the UK company also admitted that it was not the cheapest choice in the tendering process. Business news: In pictures Beast from the east economic impact The Beast from the East wiped £4m off of Flybe’s revenues due to flight cancellations, airport closures and delays, according to the budget airline’s estimates. Flybe said it cancelled 994 flights in the three months to 31 March, compared to 372 in the same period last year.

The photo-matching technology will then work to identify and thwart the future posting of similar images, not only on Facebook but also to its instant messaging service and to Instagram.

The company also published a guide on reporting and removing such intimate images and said that it had partnered with safety organisations such as the Cyber Civil Rights Initiative, which operates a hotline for victims of non-consensual pornography.