Ver Mensaje Individual
  #5 (permalink)  
Antiguo 20/12/2014, 13:47
Sirrohan
 
Fecha de Ingreso: julio-2010
Mensajes: 275
Antigüedad: 13 años, 10 meses
Puntos: 21
Respuesta: Mostrar imagen con smarty

En mi proyecto está de otra forma:

Código PHP:
Ver original
  1. {if $campos.foto eq ""}                                    
  2.      
  3. {else}
  4.    <img src="http://www.forosdelweb.com/f18/imagenes/{$campos.foto}" width="32" height="32" align="absmiddle" />
  5. {/if}