Foros del Web » Creando para Internet » Diseño Gráfico »

Png casca con IE

Estas en el tema de Png casca con IE en el foro de Diseño Gráfico en Foros del Web. ¿Cómo hago para que las imágenes que guardo como png en adobe photoshop se vean bien en Internet Explorer? Me he bajado SuperPNG, pero no ...
  #1 (permalink)  
Antiguo 20/04/2006, 08:53
 
Fecha de Ingreso: abril-2005
Mensajes: 19
Antigüedad: 19 años
Puntos: 0
Png casca con IE

¿Cómo hago para que las imágenes que guardo como png en adobe photoshop se vean bien en Internet Explorer? Me he bajado SuperPNG, pero no me soluciona el tema.
  #2 (permalink)  
Antiguo 20/04/2006, 09:34
Avatar de CREW  
Fecha de Ingreso: diciembre-2004
Ubicación: Mi Casa
Mensajes: 793
Antigüedad: 19 años, 4 meses
Puntos: 0
Haber este es un tema que tuve que vi hace tiempo, resulta que el IE sobre si tienes el SP2, no te permite ver o previsualizar de forma normal los PNG, generalmente las transparencias del PNG... mira aqui te dejo algunos link donde puedes ver y solucionar el problema:

http://redvip.homelinux.net/varios/explorer-png.html
http://blog.enrique.barbeito.org/arc...rnet-explorer/
http://xtandard.com/2006/01/27/trans...g-en-explorer/
http://www.tomatoma.ws/foros/viewtopic.php?p=18563
__________________
_________________________________
Mario Contreras || Diseñador Gráfico + Web:Mi Blog
  #3 (permalink)  
Antiguo 20/04/2006, 15:44
Avatar de sjam7  
Fecha de Ingreso: diciembre-2001
Ubicación: Guadalajara, Mexico
Mensajes: 3.672
Antigüedad: 22 años, 4 meses
Puntos: 16
Pon esto entre las etiquetes <head></head>

Código:
<!--[if gte IE 5.5000]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
   {
   for(var i=0; i<document.images.length; i++)
      {
      var img = document.images[i]
      var imgName = img.src.toUpperCase()
      if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
         var imgID = (img.id) ? "id='" + img.id + "' " : ""
         var imgClass = (img.className) ? "class='" + img.className + "' " : ""
         var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
         var imgStyle = "display:inline-block;" + img.style.cssText 
         if (img.align == "left") imgStyle = "float:left;" + imgStyle
         if (img.align == "right") imgStyle = "float:right;" + imgStyle
         if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle        
         var strNewHTML = "<span " + imgID + imgClass + imgTitle
         + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
         + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
         + "(src=\'" + img.src + "\');\"></span>" 
         img.outerHTML = strNewHTML
         i = i-1
         }
      }
   }
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->

El problema no es de Diseño grafico sino el siempre nefasto IE
__________________
CreandoWebs.com
www.creandowebs.com
PLANTILLAS TEMPLATEMONSTER CON 10% DE DESCUENTO
  #4 (permalink)  
Antiguo 24/04/2006, 01:50
 
Fecha de Ingreso: abril-2005
Mensajes: 19
Antigüedad: 19 años
Puntos: 0
Muchísimas gracias por vuestra ayuda.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 06:12.