When i post an image is their a way, so when someone clicks that image it will have a link
in posts you can use below method
[url=required-link][img]link-of-image[/img][/url]
example
[url=http://community.mybb.com][img]http://www.mybb.com/assets/images/logo.png[/img][/url]
more details -->
myCode help