You have to Finish the dungeon quest so you can get a second Emblem, to unlock the painting in the temple, then when thane gives you the bloody rag go to the temple...hope this helps