I have had the same problems before, and now have a script installed that does resize any photo automatically.
Copy this text inside a new file named something like jscript_popup.php and place in your /shop/includes/templates/YOUR_TEMPLATE/jscript:
Code:
<SCRIPT LANGUAGE="JavaScript">
function CaricaFoto(img){
foto1= new Image();
foto1.src=(img);
Controlla(img);
}
function Controlla(img){
if((foto1.width!=0)&&(foto1.height!=0)){
viewFoto(img);
}
else{
funzione="Controlla('"+img+"')";
intervallo=setTimeout(funzione,20);
}
}
function viewFoto(img){
largh=foto1.width+20;
altez=foto1.height+20;
stringa="width="+largh+",height="+altez;
finestra=window.open(img,"",stringa);
}
</script>
And then link your images in this way:
Code:
<a href="javascript:CaricaFoto('http://IMAGE_PATH/YOUR_PIC.jpg')">
<alt="YOUR IMAGE TEXT " src="http://IMAGE_PATH/YOUR_PIC.jpg" /></a>
Hope this will help :)
Goshawk