On main page link image to post page, on post page link it to it’s own image?

On main page link image to post page, on post page link it to it’s own image?

tech