Revision: 407
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 12, 2006 12:50 by nicolaspar
Initial Code
function cargarImagen( $dir, $img, $alt='', $extraDentro='', $extra = '' ){ $imagen = ''; if( isset( $img ) && ! empty( $img ) && file_exists( $dir . $img ) ){ $size = getimagesize( $dir . $img ); $imagen = '<img src="'.$dir.$img.'" width="'.$size[0].'" height="'.$size[1].'" border=0 alt="'. ( empty( $alt ) ? $img : $alt ).'" '.$extraDentro.'>' . $extra; } return $imagen; }
Initial URL
Initial Description
Initial Title
Php cargar imagen
Initial Tags
Initial Language
PHP