Two-thirds of people in Scotland are in favour of legalising same-sex marriage, a new poll has found.
The number includes nearly half of those who identify with a religious faith, according to a survey commissioned by gay rights organisation Stonewall Scotland.
The YouGov poll of nearly 2000 people also found three in five people believe lesbian, gay, bisexual and transgender people in Scotland suffer prejudice and five in six (83%) say the problem should be addressed.
The Scottish Government is expected to decide on July 10 whether to introduce same-sex marriage after considering the findings of a consultation that closed in December.
The government has already indicated it tends towards the view that same-sex marriage should be legal, although faith groups will not be obliged to conduct the ceremony.
Stonewall's report finds that 66% blame religious attitudes for prejudice against gay people in Scotland, followed closely by a lack of acceptance in schools and workplaces, as well as parental attitudes.
Colin Macfarlane, director of Stonewall Scotland, said: "We pride ourselves in being seen as a nation of tolerance and respect but this poll only highlights that for thousands of lesbian, gay, bisexual and transgender Scots, the reality is very different.
"We only have to look at some of the deeply offensive comments made by senior clerics about gay people recently, likening loving, same-sex relationships to polygamy and calling them grotesque, to see that prejudice still remains in some quarters.
"Thankfully the research shows that the majority of Scots say this sort of behaviour is not good enough and they want to see it tackled."