A number of people were charged in connection with drug offences at the Minival music festival in Aberdeenshire at the weekend.
Officers with support from a dog unit attended Drum Castle on Saturday.
Police said the event, attended by around 1,300 people, passed without any major incident or disorder but 24 people were dealt with for alleged crimes involving drugs.
Area commander chief inspector Stewart Drummond said: “It goes without saying that we are extremely disappointed to see so many people being charged in connection with drug offences.
“An incredible amount of time and effort by the event organisers goes into planning events like this so that people can enjoy themselves in the grounds of sites like Drum Castle.
“This preparation is also to ensure that all those who attend can enjoy themselves safely, with a clear warning issued by the organisers from the outset that any illegal or anti-social behaviour would not be tolerated.
“I would like to take this opportunity to thank all those who attended at the weekend and enjoyed themselves safely and responsibly. However let me be clear to those people who think that it’s okay to attend events and break the law – it is completely unacceptable, it won’t be tolerated and you will be charged.”