@NgocTam
Try pasting this into the bottom of your header template in this style:
Code:
<script type="text/javascript">
function fixImgs(maxW) {
var pix=document.getElementsByTagName('img');
for (i=0; i<pix.length; i++) {
w=pix[i].width;
h=pix[i].height;
if (w > maxW) {
f=1-((w - maxW) / w);
pix[i].width=w * f;
pix[i].height=h * f;
}
}
}
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
addLoadEvent(function() {
fixImgs(200); // Change this value to change maximum image width
});
</script>
Not my code - got it from
http://javascript.internet.com/misce...e-resizer.html