Ver Mensaje Individual
Antiguo 08-may-2008, 15:38   #1 (permalink)
darla33
darla33 ha deshabilitado el karma
 
Fecha de Ingreso: abril-2008
Mensajes: 9
Triste problema con el tamaño de imagenes galeria de imagenes

de nuevo sigo sufriendo
tengo el siguiente codigo funciona todo ok el problema es que deforma las imagenes tengo algunas 225X333 y otras 300X225 como hago para que no me las deforme no son todas el mismo tamaño. y quiero mantener los tamaños originales
les paso el codigo.
Como siempre gracias ++

<td width="100%" align="center"><img src="r101_1.jpg" width="300" height="300" name="photoslider"></td>
</tr>
<tr>
<td width="100%" align="center"><form method="POST" name="rotater">
<div align="center"><center><p><script language="JavaScript1.1">
var photos=new Array()
var which=0

/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="r102_1.jpg"
photos[1]="r101_2.jpg"
photos[2]="r101_3.jpg"
photos[3]="r101_4.jpg"


function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src= "IMAGE/" + photos[which];
}
}

function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src= "IMAGE/" + photos[which]
}
else window.status='End of gallery'
}
</script>
darla33 está desconectado   Responder Citando