Ок, скрипт в HTML низ заменяем на изначальный:
<script> $('.post-content span[style="color: white"]>.postimg').each(function(){ $(this).wrap('<a href="'+this.src+'" target="_blank"></a>'); }) </script>
Код в HTML верх на поправленный:
<style> .post-content span[style="color: white"]>.postimg, .post-content span[style="color: white"]>a>.postimg {max-width:30%} </style>